forked from bregman-arie/devops-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
352 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## EC2 - Create an AMI | ||
|
||
### Requirements | ||
|
||
One running EC2 instance | ||
|
||
### Objectives | ||
|
||
1. Make some changes in the operating system of your instance (create files, modify files, ...) | ||
2. Create an AMI image from running EC2 instance | ||
3. Launch a new instance using the custom AMI you've created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## AWS EC2 - EBS Volume Creation | ||
|
||
### Requirements | ||
|
||
One EC2 instance that you can get rid of :) | ||
|
||
### Objectives | ||
|
||
1. Create a volume in the same AZ as your instance, with the following properties: | ||
1. gp2 volume type | ||
2. 4 GiB size | ||
2. Once created, attach it to your EC2 instance | ||
3. Remove your EC2 instance. What happened to the EBS volumes attached to the EC2 instance? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## AWS EC2 - Hibernate an Instance | ||
|
||
### Objectives | ||
|
||
1. Create an instance that supports hibernation | ||
2. Hibernate the instance | ||
3. Start the instance | ||
4. What way is there to prove that instance was hibernated from OS perspective? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## EC2 - Create an AMI | ||
|
||
### Requirements | ||
|
||
One running EC2 instance | ||
|
||
### Objectives | ||
|
||
1. Make some changes in the operating system of your instance (create files, modify files, ...) | ||
2. Create an AMI image from running EC2 instance | ||
3. Launch a new instance using the custom AMI you've created | ||
|
||
### Solution | ||
|
||
1. Connect to your EC2 instance (ssh, console, ...) | ||
2. Make some changes in the operating system | ||
3. Go to EC2 service | ||
4. Right click on the instance where you made some changes -> Image and templates -> Create image | ||
5. Give the image a name and click on "Create image" | ||
6. Launch new instance and choose the image you've just created |
Oops, something went wrong.