During development, you are typically building a Cloud Assembly blueprint by starting with the essentials, then deploying and testing as the blueprint grows.

To be certain that a deployment works the way that you want, you might test the blueprint several times. Gradually, you add more components, redeploy, and retest along the way.

Prerequisites

Create the basic blueprint. See WordPress use case: create a basic blueprint.

Procedure

  1. Click Blueprints, and open the WordPress-BP blueprint.

    The basic blueprint appears, in the design canvas and YAML code editor.

  2. At the lower left, click Deploy.
  3. Select Create a new deployment.
  4. Name the deployment WordPress for OurCo, and click Next.
  5. Select input values, and click Deploy.

    Input variables

  6. To verify that the blueprint successfully deployed, look under Deployments.

    If a deployment fails, click its name, and click the History tab to see messages that can help you troubleshoot.

    Failed deployment

    Some history entries have a Provisioning Diagram link at the far right. Open a diagram to see a flow chart of Cloud Assembly decision points in its provisioning process.

    More flow charts are available under Infrastructure > Activity > Requests.

    Request flow

  7. To verify that the application is working, open the WordPress web site in a browser.
    1. To locate the site FQDN or IP address, go to Deployments > Topology.
    2. On the canvas, click the WebTier, and find the address in the panel on the right.
  8. After looking at WordPress in a browser, if the application needs more work, make blueprint changes and redeploy using the Update an existing deployment option.
  9. Consider versioning the blueprint. You can revert to a working version if a change causes deployment to fail.
    1. On the blueprint design page, click Version.
    2. On the Creating Version page, enter WP-1.0.

      Do not enter spaces in version names.

    3. Click Create.

    To review or revert to a version, on the design page, click the Version History tab.

  10. With a basic deployment now possible, try your first deployment-time enhancement by increasing CPU and memory on the application and database servers.

    Update to a medium node size for both. Using the same blueprint, select medium at deployment time, redeploy, and verify the application again.

What to do next

Expand the blueprint into a production-worthy application by adding more components.