Back to Developer Roadmap

Deployment

src/data/roadmaps/full-stack/content/checkpoint--deployment@J2_IWAb1s9zZcxOY3NXm2.md

4.01.2 KB
Original Source

Deployment

Now that you know the basics of AWS, you should be able to deploy your application to AWS. You don't need to use all the AWS services, here is what you can probably get started with:

  • Setup an EC2 instance using any AMI (e.g. latest version of Ubuntu)
  • SSH into the EC2 instance using the key pair you created
  • Install Node.js on the EC2 instance
  • Install Git on the EC2 instance
  • Clone your application from GitHub
  • Install and configure database on the EC2 instance (e.g. PostgreSQL)
  • Make sure that the security group of the EC2 instance allows HTTP and HTTPS traffic
  • Try to access your application using the public IP address of the EC2 instance
  • Purchase or setup a domain name using Route53 (or any other domain name provider) and point it to the public IP address of the EC2 instance
  • Setup HTTPs using certbot
  • And voilla! You have deployed your application to AWS!

Visit the following resources to learn more: