Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Person need to create EC2 instance with following details:
EC2 type: t2 micro
ami: ami-9abea4fb
security_group: sg-577a0d33
vpc: vpc-c53464a0
subnet: subnet-35d6486c
user data
!/bin/bash
sudo su
lsblk /dev/xvdb > /dev/null 2>&1
fsck /dev/xvdb > /dev/null 2>&1
mkdir /docker
mkfs -t ext4 -i 8192 /dev/xvdb
mount /dev/xvdb /docker
cat << EOF >> /etc/fstab
/dev/xvdb /docker ext4 defaults,nofail 0 2
EOF
disks
VolumeType: Root
device: /dev/sda1
snapshot: snap-306df873
size: 30 GB
VolumeType: gp2
DeleteOnTermination: yes
Encrypted: no
VolumeType: ebs
device: /dev/sdb
snapshot:
size: 200 GB
VolumeType: gp2
DeleteOnTermination: yes
Encrypted: no
Tag
key1: Name
Value1: Dock
key2: Org
Value2: 2335750
key3: role
Value3: dock
Keypair: gamma
create the AMI
Add roles to package for AWS, vault, waver and certificates.