Code Monkey home page Code Monkey logo

aws-infra-web-ci-cd's Introduction

CSYE6225- Network Structures and Cloud Computing

aws.mp4

Assignment 3: Project description


Infrastructure as Code: This assignment will focus on setting up networking resources such as Virtual Private Cloud (VPC), Internet Gateway, Route Table, and Routes. We use Terraform for infrastructure setup and tear down.

Terraform

Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure

Setting up Infrastructure using Terraform


The terraform init command initializes a working directory containing Terraform configuration files:

terraform init

The terraform plan command creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure:

terraform plan

The terraform apply command executes the actions proposed in a Terraform plan to create, update, or destroy infrastructure:

terraform apply

The terraform destroy command is a convenient way to destroy all remote objects managed by a particular Terraform configuration:

terraform destroy

Assignment 4: Project description

Updated the terraform script to create an EC2 instance from the custom AMI image.

Assignment 6: Project description

Updated the terraform script to create a DNS A record and point the subdomain to the EC2 Ip address.

Assignment 7: Project description

Updated the terraform script to add cloudwatchagent server policy to the EC2-CSYE6225 role.

Assignment 8: Project description

Updated the terraform script to add load balancer, EC2 target group and Auto scaling group to balance the load between/among the instances.

Assignment 9: Project description

Attached the imported SSL certificate to the listener interface of the load balancer and allowed only HTTPS traffic. Updated the terraform script and removed HTTP port from the listener interface of the ALB to prevent HTTP traffic flowing into the Loadbalancer. Updated the launch template to encrypt the EBS volume of the EC2 instance with a KMS key. Also used another KMS key to encrypt RDS.

Following is the command used to import the NameCheap SSL certificate into the AWS certificate manager.

aws acm import-certificate --certificate file://Certificate.pem --certificate-chain file://CertificateChain.pem --private-key file://PrivateKey.pem

Developer - Nagendra babu Shakamuri
NUID - 002771584
Email - [email protected]

aws-infra-web-ci-cd's People

Contributors

nagendraharu avatar nagendrababushakamuri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.