1. Packages
  2. AWS Classic
  3. How-to Guides
  4. Deploy a container with a DBC-built image on AWS Fargate

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.46.0 published on Wednesday, Jul 24, 2024 by Pulumi

Deploy a container with a DBC-built image on AWS Fargate

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.46.0 published on Wednesday, Jul 24, 2024 by Pulumi

    View Code Deploy this example with Pulumi

    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

    πŸ‘©β€πŸ« 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-dbc
    $ 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:

    Deploy this example with Pulumi Deploy this example with Pulumi

    🎬 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
    
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.46.0 published on Wednesday, Jul 24, 2024 by Pulumi