Skip to content

A basic example for deploying fargate infra and running new tasks

Notifications You must be signed in to change notification settings

safaa-alnabulsi/fargate-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fargate Hello-World!

In this basic example, you will get a running Fargate task in two steps:

1. Setup the AWS Infrastructure

This includes: ECR, ECS cluster, Task definition and required roles.

First, get AWS Account credentials and then run the following the script:

 ./deploy.sh CLUSER_STACK_NAME ECR_REPO_NAME IMAGE_NAME IMAGE_TAG REGION ACCOUNT_ID

2. Running a new Fargate Task

Run the following script to run a new task:

./run_new_task.sh CLUSER_STACK_NAME REGION SUBNETS

Ready to Run example

./deploy.sh 'hello-fragate-stack' 'hello-fargate-ecr-repo' 'hello-image' '1' 'eu-central-1' '111111111'
./run_new_task.sh 'hello-fragate-stack' 'eu-central-1' 'subnet1,2,3'

About

A basic example for deploying fargate infra and running new tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published