As a cloud administrator, you can populate the Service Broker catalog with Amazon CloudFormation templates by adding one or more Amazon S3 buckets as content sources. The templates are the specifications for the services or applications that you can deploy to Amazon Web Services.

To ensure that you can deploy the imported templates, you might need to add cloud accounts and projects.

Workflow diagram for importing and deploying CloudFormation templates.

You can only add one bucket as a content source. To add multiple buckets, you create a content source for each bucket.

After you add the templates, you entitle project members to deploy the blueprints. At the request time, the blueprint is deployed to the cloud account region that you define when you add the content source.

Prerequisites

  • Ensure that you know to name of the S3 bucket contains your CloudFormation templates.

  • If you are adding a private bucket, you must know the access key and the secret key.

  • If you are deploying the imported templates to Amazon Web Services regions that are not configured in your Cloud Assembly instance, add them as cloud accounts so that you can specify them as the deployment target when you add the source. See Add Cloud Accounts to Service Broker For CloudFormation Templates.

Procedure

  1. Select Administration > Content Sources.
  2. In the Type drop-down menu, select CloudFormation Template.
  3. Enter the Name and Description for this content source.
  4. Add the S3 bucket information.

    Option

    Description

    Bucket name

    Enter the name of the bucket as it appears in Amazon S3.

    Bucket access policy

    Depending on the bucket type, select Public or Private.

    If the bucket is private, you must provide the bucket access and secret keys.

  5. Click Validate.

    If the bucket is public, the validation process verifies the name and the number of templates. If the bucket is private, the validation process verifies the name, the keys, and the number of templates.

  6. Select the Deployment Target account and region.

    Select the account and region where the entitled users can deploy these S3 templates.

    CloudFormation templates can only be deployed to Amazon Web Services account regions. These regions are defined in Cloud Assembly or you can add them in Service Broker using Administration > Cloud Accounts.

  7. Click Create and Import.

    If you are updating a content source, you Save and Import.

Results

The templates are imported into Service Broker.

What to do next

  • If the users who will deploy the templates are not members of a project in Cloud Assembly, you must add them to a project. See Add a Project to Service Broker.