1. 程式人生 > >Share a Snapshot Encrypted with a Default CMK

Share a Snapshot Encrypted with a Default CMK

Here is a summary of the necessary steps:

2.    Attach the volume to a temporary EC2 Linux instance.

3.    Use the Linux ‘dd’ utility to copy the data from your encrypted volume to a newly created, unencrypted volume.

4.    Create a snapshot from the unencrypted volume, and share it with the account of your choosing.

Here are the detailed steps:

Naming conventions:

i-cmk = The original instance encrypted using the default KMS CMK.

vol-cmk = The encrypted root volume of the original encrypted instance i-cmk.

i-temp = The temporary “worker instance” to perform the dd operations.

vol-new = New, unencrypted, blank volume, identical in size to vol-cmk, and in the same Availability Zone as vol-cmk.  This will be used to receive the data from vol-cmk, and then to create an unencrypted snapshot that is shareable with another account.

Detailed steps:

2.    Create a snapshot of vol-cmk and/or create an AMI of i-cmk. Use snapshots and AMIs to provide backups for your resources prior to performing any major tasks.

3.    Take note of the i-cmk root device name in the AWS console (/dev/xvda, /dev/sda1, etc., depending upon the Linux distribution).

4.    Launch a new temporary worker EC2 Linux instance (i-temp) of the same type and in the same Availability Zone as i-cmk.

6.    Attach vol-cmk to your temporary worker instance i-temp (attach v-cmk to the temp instance as /dev/xvdf).

7.    Create a new, unencrypted volume (vol-new) and attach it to the temporary worker instance i-temp as /dev/xvdg.

8.    Connect to i-temp and confirm the presence of the root device and both attached volumes using lsblk:

相關推薦

Share a Snapshot Encrypted with a Default CMK

Here is a summary of the necessary steps: 2.    Attach the volume to a temporary EC2 Linux instance. 3.  

How my startup got to a successful exit with a developer

In January of 2018, I helped found a machine learning startup with 2 other people. 9 months later I sold it for $5 million. What was our secret? We put dev

Ask HN: Where can I find a text file with a set of representative URLs?

My google-fu is failing me today.I'm looking for something similar to an a list of phrases but for URLs.A phrase list looks something like this: https://ww

Android -- the project was not built due to a resource exists with a different case...

進行編碼時,工程前面莫名有個紅X,正當百思不得其解時,發現在[problems]下有如下的訊息輸出 ------ the project was not built due to a resource exists with a different case... ---

Class file collision: A resource exists with a different case錯誤 Eclipse

今天寫程式遇到這樣一個錯誤。class 檔案衝突,開始很納悶,因為eclipse他本身不會抱錯。後來發現是程式中的類的名字大小寫出現錯誤。 例如: Movie class / movie class 這正好就解釋了 a resource exists with a diff

Data Wrangling文摘:How to share data with a statistician

原文地址:GitHub - jtleek/datasharing: The Leek group guide to data sharing  https://github.com/jtleek/datasharing This is a guide for anyone who needs to

Default value for parameters with a class type hin

php7 right xxx int ont row ron null clas 今天迷之報了個錯誤,本來在另一條開發機上好好的,結果換了一臺新的開發機就錯誤了,錯誤如下: PHP Fatal error: Default value for parameters wit

poj3511--A Simple Problem with Integers(線段樹求和)

poj pac style som can com onos roman miss A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K

線段樹專題 POJ3468 A Simple Problem with Integers

strong print style update else algo linker clas uil 題意:n個點。m個操作。兩種操作類型。C X Y K 表示區間[x,y]上每一個點值加k。Q X Y 求區間[x,y]的和 分析:線段樹區間求和,裸模板 註意

Brunch with a Friend 與朋友共進午餐

swe des favor pac row spa ati dining -c brownies 核仁巧克力餅    toast 烤面包    dining room 餐廳  practical 實用的 meal 一餐     combination 組合    panca

使用ConstraintLayout構建響應式UI(Build a Responsive UI with ConstraintLayout)

垂直 邊緣 ddn style 元素 package ext tle font 原文:https://weiyf.cn/2017/03/10/Build%20a%20Responsive%20UI%20with%20ConstraintLayout/ 原文:http://w

Your build settings specify a provisioning profile with the UUID, no provisioning profile was

settings 解決 目的 del 查找 set post 出錯 pretty iOS 真機調試問題 在Archive項目時,出現了“Your build settings specify a provisioning profile with the UUID

poj 3468 A Simple Problem with Integers

arch fin uil range swe next char () limit A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total

[React] Create a Virtualized List with Auto Sizing Cells using react-virtualized and CellMeasurer

color react fault mail osi rem owin logs ati In this lesson we‘ll use CellMeasurer and CellMeasurerCache to automatically calculate and c

python爬取豆瓣小組700+話題加回復啦啦啦python open file with a variable name

技術分享 ash 寫入 blog ima ron tar 回復 -128 需求:爬取豆瓣小組所有話題(話題title,內容,作者,發布時間),及回復(最佳回復,普通回復,回復_回復,翻頁回復,0回復) 解決:1. 先爬取小組下,所有的主題鏈接,通過定位nextp

poj 3468 A Simple Problem with Integers(原來是一道簡單的線段樹區間修改用來練練splay)

long 兩個 可能 style push ios stream 區間 pan 題目鏈接:http://poj.org/problem?id=3468 題解:splay功能比線段樹強大當然代價就是有些操作比線段樹慢,這題用splay實現的比線段樹慢上一倍。線段樹用l

[Node] Run Any Version of a Node Tool with npx

with reac try one rip err install projects not As node projects evolve, new features are added all the time. This results in different er

A Simple Problem with Integers POJ - 3468

nts sub other numbers opera clu ios mes initial You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One

POJ-3468 A Simple Problem with Integers(線段樹、段變化+段查詢、模板)

sum .org miss numbers ... bsp wid scanf accepted A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Su

POJ - 3468 A Simple Problem with Integers

pan const value int stream put code all pda You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One typ