Coder Social home page Coder Social logo

springboot_ecs's Introduction

Deploy Spring Boot App On ECS

aws arch drawio

This is a sample Java / Maven / Spring Boot (version 1.5.6) application .

For executing the Workflow this steps riquired

  • set aws credential using git secrets .

This terraform module builds an Elastic Container Service(ECS) Cluster in AWS.

The following resources will be created:

-- VPC , NAT Gateway , Security Group for Auto scaling group , RDS , ALB
-- RDS , SSM Parameter 
-- Application Load Balancer , Target Group
-- ECS , Task Defination , Service 

s3 backend -- i am using s3 bucket as backend to save .tfstate file. you have to configure your s3 bucket or you can use local to save your .tfstate file

Name Type
random_string resource
aws_ssm_parameter resource
aws_instance resource
aws_security_group resource
aws_iam_role resource
aws_iam_instance_profile resource
aws_iam_role_policy resource

How to run

Steps to Be Followed

  • Clone this repository

1-Add AWS Secret to Github-Action Evironment -go To Setting Secret/Action/ -click on New Repository Secret and Add Your AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY

2- Create Your Own s3 bucket and replace details in main.tf

3- Now you can manage your architecture using github action

springboot_ecs's People

Contributors

saurav0310 avatar dhiru982 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.