Introduction to EC2 Virtual Cloud Server
A virtual server in AWS Cloud, providing computing capacity
Steps to deploy a web application on EC2 instance
Create an EC2 instance on AWS
Connect to EC2 instance with ssh
Install Docker on remote EC2 instance
Run Docker container (docker login, pull, run) from private repository
Configure EC2 Firewall to access application externally from the browser
1 Steps to launch EC2 instance
Choose OS Image
Choose capacity
Network configurations
Add storage
Add tags
Configure Security Group
2 Connect to EC2 server via ssh using downloaded private ssh key

go to Services EC2 then launch instance button


add tags = why you create this instance or you can say that what is that

who can access this insances



You must downlad key pair because you will not be able to download file again after it is created
Connect to EC2 Instance
Install Docker on EC2
RUN WEBAPPLICATION ON EC2
Pull docker image
Run Docker container

app starts at port 3080 inside the docker container
in the aws account you can do that

Last updated