- Amazon Web Services
- Level 100 (Introductory)
- One to Two hours.
- Launch a linux based EC2 instance in any one region of your choice in a public subnet
- Setup a security group that allows http/https connections from the Internet, and ssh from your IP address
- ssh into the EC2 instance
- setup a webserver on the EC2 instance
- add a simple hello world header to the index.html file
- Hit the public IP address from a browser and confirm the site is served
- What is a region?
- What is an availability zone?
- What is a public subnet?
- How many subnets can there be in one region?
- How to launch EC2 instances in public / private subnets?
- What are AMIs?
- What are security groups?
- What are inbound/outbound rules?
- what is deny By default rule in security groups?
- How to allow access to EC2 from security groups?
- How to connect to EC2 instances from your machine?
- How to setup your simple static site with ec2?
- For windows users Download and install Putty
- Connecting to a Linux EC2 instance from Windows is not possible natively, you will need an ssh client such as Putty to connect , and you will need to follow these steps to ssh into ec2 from windows
- You can also launch non linux EC2 instances for example windows servers, for which you will need to RDP into.
- Use t2.micro instances from the free tier as it will suffice for this static site
- Use the default setting on the storage screen as 8GB of EBS storage will be enough for this project.