Skip to content

ShauryaAg/AWS-Deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Deploy-to-AWS Action

GitHub Action to deploy the application to AWS EC2

This GitHub Action is based off of my blog to deploy multiple microservices whilst maintaing a single parent repository

How I designed and deployed a scalable microservice architecture with limited resources

Steps:

  • Set up the AWS credentials
  • Fetch the environment variables from a bucket in AWS S3
  • Check for updates in any git submodules
  • Deploy each submodule separately to the AWS EC2 instance

Configuration:

Option Type Default Required Notes
get-env boolean true Flag to specify if ENV secrets should be fetched from the AWS Bucket. Set false if ENV secrets should not be fetched, otherwise ignore.
env-bucket string - ✔️ Bucket where the ENV Secrets are stored. Specify the whole path, if ENV Secrets are stored deep inside the directory tree.
aws-app-name string - ✔️ AWS App Name
app-bucket string - ✔️ Bucket where the deployment should be stored
app-group string - ✔️ AWS Deployment Group Name to deploy the application

About

GitHub action to deploy to AWS EC2

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages