Skip to content

ProjectSprint/ecs_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectSprint ECS example

This repo contains example on how to interact with ProjectSprint ECS

Prerequisite

Setup

  • Make sure you already tell the administrator at the discord server about:

    • team app name
    • team services names

    To be allowed to be created by your account

  • Set your environment variables

    export AWS_ACCESS_KEY=""
    export AWS_SECRET_KEY=""
    export AWS_REGION=""
    export PROJECTSPRINT_VPC=""
    export PROJECTSPRINT_PUBLIC_SUBNET_1=""
    export PROJECTSPRINT_PUBLIC_SUBNET_2=""
    export PROJECTSPRINT_PRIVATE_SUBNET_1=""
    export PROJECTSPRINT_PRIVATE_SUBNET_2=""
  • Set your copilot app

    # Run this only once
    copilot app init your-ecs-service-name
  • Set your env (this is for creating a env called staging)

    # Run this only once, this command will not override `./copilot/environments/staging/manifest.yml` if it's exists
    copilot env init -n staging
    # Run this only once, or run in again if you change something in `./copilot/environments/staging/manifest.yml`
    copilot env deploy
  • Set your app (this is for creating a service called example-1)

    # Run this only once, this command will not override `./copilot/example-1/manifest.yml` if it's exists
    copilot svc init -n example-1

Push & Deploy

To compile, push and deploy all at once, you can run

# Run each deploy
make deploy

Or see more available commands at the makefile

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors