Skip to content

Latest commit

 

History

History
65 lines (33 loc) · 1.68 KB

File metadata and controls

65 lines (33 loc) · 1.68 KB

DevOps Project - VPC Setup for Vprofile Project on AWS Cloud using Ansible for Cloud Automation

This is a DevOps project for VPC (Virtual Private Cloud) Setup for Vprofile Project on AWS Cloud using Ansible for Cloud Automation.

Link for vprofile app repository.

Scenario - Current Situation:

  • AWS Cloud Management Team

  • Deploy / Setup Infrastructure on Cloud

  • Usage of Secure and HA (Highly Available) VPC for New Projects

  • Regular Requests

Problem - Issues with Current Situation:

  • VPC Consists of Many Moving Parts

  • Subnets, NAT Gateways, Internet Gateways, Route Tables, NACLs, Security Groups

  • Bastion Hosts

  • Human Error can lead to Non Functional or Exposed VPC

  • Managing Manually is a Time Consuming Task

Solution - Fix:

  • Configuration Management of VPC

  • Automatic Setup (No Human Errors)

  • Centralize Change Management

  • Version Control (IaC)

Tools used in the Project:

Usage (Flow of Execution):

  1. Login to AWS - Link to Login to your AWS Account.

  2. Create EC2 Instance to Run Ansible Playbooks

  3. Install Ansible

  4. Install Boto

  5. Setup EC2 Role for Ansible

  6. Create a Project Directory

  7. Create Variables File for VPC and Bastion Host

  8. Create VPC Setup Playbook

  9. Create Bastion Setup Playbook

  10. site.yaml Playbook to call both Playbooks at once