AWS v6.64.0 published on Friday, Dec 6, 2024 by Pulumi
Deploy a container with a DBC-built image on AWS Fargate
Deploys a AWS Fargate service. The service uses a Docker image that is build with Docker Build Cloud (DBC). The image is pushed to AWS ECR. This template prompts the user for an existing DBC builder.
Last revision: May 2024.
π Pre-requisites
- Docker Build Cloud (DBC) builder
- π¨ You must complete the DBC builder setup steps π¨
- Docker Desktop / CLI
- Pulumi CLI
- Recommended Pulumi Cloud account
- npm
- AWS account and local credentials configured
π©βπ« Get started
This Pulumi example is written as a template. It is meant to be copied via pulumi new
as follows:
pulumi new https://github.com/pulumi/examples/tree/master/aws-ts-containers-dockerbuildcloud
npm install
Once copied to your machine, feel free to edit as needed.
Alternatively, click the button below to use Pulumi Deployments to deploy this app:
π¬ How to run
To deploy your infrastructure, run:
$ pulumi up
# select 'yes' to confirm the expected changes
# wait a bit for everything to get deployed
# ...
# confirm your service is up and running
$ curl $(pulumi stack output url)
# π Ta-Da!
π§Ή Clean up
To clean up your infrastructure, run:
$ pulumi destroy
# select 'yes' to confirm the expected changes