Skip to content

Bash scripts that automatically spin up an EC2 instance, build a Docker image, and deploy a containerized Flask application on EC2, viewable via the Internet.

Notifications You must be signed in to change notification settings

sviswanath57/Automate-EC2-Spinup

 
 

Repository files navigation

Bash Scripts to Automatically Spin Up an EC2 Instance

The main motivation of this mini-project was to practice my Bash scripting skills and get familiar with using the AWS CLI to automate tasks on the command line. This particular repo has a setup script to automatically spin up an EC2 instance, SSH into it, install dependencies, and host a simple Flask app using the image pulled from Docker Hub. At a high level, the process of this deployment is shown below:

A high-level overview of the architecture

Running on EC2! (powered down for now)

Simple Flask app running on EC2

About

Bash scripts that automatically spin up an EC2 instance, build a Docker image, and deploy a containerized Flask application on EC2, viewable via the Internet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 94.5%
  • Python 2.8%
  • Dockerfile 2.7%