AWS v6.54.0 published on Friday, Sep 27, 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