mohitjaiswal28 / AWS-CICD

A Step-by-Step Guide to Automating Application Deployment Using AWS CodePipeline and CloudFormation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS CI/CD Deployment and Infrastructure with CloudFormation

This repository contains comprehensive examples and scripts for deploying CI/CD pipelines and launching infrastructure using AWS CloudFormation templates. It serves as a guide and a resource for automating the deployment and management of AWS services.

AWS Architecture Diagram

AWS Architecture Diagram

Check out the details in the Medium post πŸ‘‡πŸ»:

Directory Structure

The repository is organized as follows:

AWS-CICD/
β”‚
β”œβ”€β”€ CloudFormation Template/
β”‚   └── template.yml
|
β”œβ”€β”€ Scripts/
β”‚   β”œβ”€β”€ fix_privileges.sh
β”‚   β”œβ”€β”€ server_clear.sh
β”‚   β”œβ”€β”€ server_start.sh
β”‚   └── server_stop.sh
β”‚
β”œβ”€β”€ AWS Architecture Diagram.jpg
β”‚
β”œβ”€β”€ appspec.yml
└── buildspec.yml

Repository Guide

  1. AWS-CICD/: This is the root directory of your repository.

  2. CloudFormation Template/: This directory contains your AWS CloudFormation templates.

    • template.yml: The main CloudFormation template file for provisioning AWS infrastructure.
  3. Scripts/: This directory includes various shell scripts used for managing the server and fixing permissions.

    • fix_privileges.sh: A script to adjust file or directory permissions.
    • server_clear.sh: A script to clear server data or logs.
    • server_start.sh: A script to start the server.
    • server_stop.sh: A script to stop the server.
  4. AWS Architecture Diagram.jpg: An image file depicting the architecture of your AWS deployment. This visual aid helps in understanding the overall structure and components of your infrastructure.

  5. appspec.yml: This file is used by AWS CodeDeploy to manage the deployment process. It specifies the deployment actions and lifecycle hooks.

  6. buildspec.yml: This file is used by AWS CodeBuild to define the build process. It contains commands and settings for building and testing your application.

Contributors

About

A Step-by-Step Guide to Automating Application Deployment Using AWS CodePipeline and CloudFormation.


Languages

Language:Shell 100.0%