Skip to content

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

Notifications You must be signed in to change notification settings

JayShenkar07/AWS-CICD

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages