Confidential Serverless Made Efficient with Plug-In Enclaves

被引:24
作者
Li, Mingyu [1 ]
Xia, Yubin [1 ]
Chen, Haibo [1 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai AI Lab, Shanghai, Peoples R China
来源
2021 ACM/IEEE 48TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2021) | 2021年
关键词
Intel SGX; Serverless; Confidential Computing;
D O I
10.1109/ISCA52012.2021.00032
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Serverless computing has become a fact of life on modern clouds. A serverless function may process sensitive data from clients. Protecting such a function against untrusted clouds using hardware enclave is attractive for user privacy. In this work, we run existing serverless applications in SGX enclave, and observe that the performance degradation can be as high as 5.6 x to even 422.6 x . Our investigation identifies these slowdowns are related to architectural features, mainly from page-wise enclave initialization. Leveraging insights from our overhead analysis, we revisit SGX hardware design and make minimal modification to its enclave model. We extend SGX with a new primitive-region-wise plugin enclaves that can be mapped into existing enclaves to reuse attested common states amongst functions. By remapping plugin enclaves, an enclave allows in-situ processing to avoid expensive data movement in a function chain. Experiments show that our design reduces the enclave function latency by 94.74-99.57%, and boosts the autoscaling throughput by 19-179 x.
引用
收藏
页码:306 / 318
页数:13
相关论文
共 41 条
[1]   InvisiPage: Oblivious Demand Paging for Secure Enclaves [J].
Aga, Shaizeen ;
Narayanasamy, Satish .
PROCEEDINGS OF THE 2019 46TH INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA '19), 2019, :372-384
[2]  
Agache A, 2020, PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, P419
[3]  
Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
[4]   S-FaaS: Trustworthy and Accountable Function-as-a-Service using Intel SGX [J].
Alder, Fritz ;
Asokan, N. ;
Kurnikov, Arseny ;
Paverd, Andrew ;
Steiner, Michael .
CCSW'19: PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON CLOUD COMPUTING SECURITY WORKSHOP, 2019, :185-199
[5]  
Almeida JB, 2016, PROCEEDINGS OF THE 25TH USENIX SECURITY SYMPOSIUM, P53
[6]  
[Anonymous], Intel<(R)> 64 and IA-32 Architectures Software Developer's Manual Combined
[7]  
Arnautov S, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P689
[8]   Hacking Blind [J].
Bittau, Andrea ;
Belay, Adam ;
Mashtizadeh, Ali ;
Mazieres, David ;
Boneh, Dan .
2014 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2014), 2014, :227-242
[9]   Trust More, Serverless [J].
Brenner, Stefan ;
Kapitza, Ruediger .
SYSTOR '19: PROCEEDINGS OF THE 12TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE, 2019, :33-43
[10]  
Bulck J. V., 2020, P IEEE S SECUR PRIV, P54, DOI DOI 10.1109/SP40000.2020.00089