/devops-08

A repository for DevOps assignments and projects

Primary LanguageShell

devops-08

A repository for DevOps assignments and projects

Auto deployment for Yummy Recipes REST API

The script in this project is for automated deployment of the yummy-rest project on an Ubuntu Server 16.04 instance on AWS EC2.

Pre-requisites

Create an AWS EC2 instance of the Ubuntu Server 16.04 and ensure the following inbound rules are set as shown.

image

Steps

  1. Connect to the instance through the ssh.
  2. clone this repository
    git clone -b deploy-automation https://github.com/indungu/devops-08.git setup
  3. Run the script
    source setup/deploy-backend.sh
  4. Close the gunicorn and exit the shell connection