Professional Software Development Services

88-meak1k

the following explains how to create an AWS EC2 instances running ubuntu and nginx on a docker instance


AMI: Ubuntu Server 16.04 LTS (HVM), SSD Volume Type - ami-5e8bb23b
Family: General Purpose - t2.nano
Security Group: port 80 for HTTP
SSL Key Pair: locally generated, ssh-keygen -f /Users/michaelemens/Downloads/mean1k -t rsa -b 1024
shell connection: ssh -l ubuntu -i /Users/michaelemens/Downloads/mean1k ec2-52-14-7-197.us-east-2.compute.amazonaws.com
installed docker: curl -fsSL get.docker.com -o get-docker.sh; sh get-docker.sh
installed nginx to docker instance: docker container run --publish 80:80 -detach --name webhost nginx

total creation time: 5 minutes