To perform this tutorial, you need the following:
- docker-compose: You can execute
docker-compose up
. git
: You can executegit clone
andgit push
to your repositories on GitHub.- At least one of the following. It depends on where you deploy.
- for Kubernetes:
- You have a Kubernetes cluster.
- You can connect the cluster with kubectl.
- for Google Cloud Run:
- You can call Cloud Run APIs from you local to your Google Cloud project.
- for Amazon ECS:
- You can call APIs of ECS and ELB from your local to your AWS account. See here for details.
- You have all of (i.e. all you need to create an ECS service):
- an ECS cluster
- an ELB that the service will receive traffic from
- two target groups that the ELB routes traffic to the service
- you need to link one target group to the ELB's listener rule
- two subnets where the service will be placed
- a security group which allows
HTTP:80
inbound from your local - a task execution role which has
AmazonECSTaskExecutionRolePolicy
. See here.
- for AWS Lambda:
- You can call APIs of Lambda from your local to your AWS account. See here for details.
- You have all of (i.e. all you need to create a Lambda function):
- an image in your ECR Repository
- function’s execution role
- for Terraform:
- You can execute
terraform
commands on local.
- You can execute
- for Kubernetes: