This post is part of the Pure Cloud Block Store - Quick Launch series.
    Pure Cloud Block Store on AWS - Quick Launch

Pure Cloud Block Store on AWS - Quick Launch

Share on:

In previous posts I have covered use cases on how to utilize Pure Cloud Block Store (CBS), but if we look back I haven’t explained how it can be deployed. This blog will cover how to quickly launch CBS with the pre-requisites in AWS.


If you are not familiar with the Pure Cloud Block Store, it is a purpose built block storage system that currently sits in Azure and AWS. There are many benefits and use cases you can find out here. While we do have an Cloud Formation Template (CFT) that deploys all the components of Pure Cloud Block Store, the underlying pre-requisites still have to be deployed prior.

What is the Pure Cloud Block Store on AWS Quick Launch?

The AWS Quick Launch is a HashiCorp Terraform Manifest I created that deploys a base configuration of resources within Amazon Web Services that need to exist before we can deploy Pure Cloud Block Store. To understand the pre-requisites we should review the Cloud Block Store Deployment and Configuration Guide for AWS. This guide covers all the prequisites needed. Many customers either have existing VPCs, Security Groups or Subnets defined. However, many customers who POC or deploy CBS may want to setup new resources for this. The Quick Launch will automatically setup the required resources using Terraform and deploy CBS into the account.

The required resources that the AWS Quick Launch will create are the following:

  • AWS VPC Endpoints
  • AWS Subnets
  • AWS Internet Gateway
  • AWS NAT Gateway
  • AWS Route Tables
  • AWS Elastic IP
  • AWS Security Groups
  • AWS IAM Role and IAM Policy for Deployment
  • AWS EC2 VM
  • Deploy CBS using the above created resources

Get the Pure Cloud Block Store on AWS Quick Launch

All the required Terraform files are located on GitHub.

To deploy you will also need a Pure Cloud Block Store license. This can be purchased directly through the AWS Marketplace or through Pure Storage as a PaaS subscription. A license can also be generated by your Pure Storage account team for a free trial or POC.

1git clone

Deploy the Pure Cloud Block Store on AWS Quick Launch

The AWS Quick Launch has been easily variablized and made dynamic so only minor information is needed for a full end to end deployment.

AWS Variables

aws_prefixPrefix for any objects created in AWS
aws_access_keyUsed for Authentication
aws_secret_keyUsed for Authentication
aws_regionAWS Region to use
aws_zoneAWS Zone within AWS to use
aws_ami_ownerAMI Owner
aws_ami_nameAMI Image Name
aws_ami_architectureAMI Image Architecture
aws_instance_typeEC2 Instance Size
aws_key_nameName of AWS Key to use for ssh login
aws_user_dataAny Script/Commands you wish the VM to run on Startup

CBS Variables

template_urlURL of the Cloud Formation Template to Use (Purity Version)
license_keyPure Cloud Block Store License Key
log_sender_domainDomain to be used for CBS (Optional but Preferred)
alert_recipientsEmail Address to be used for CBS Alerts
array_modelCBS Model (V10AR1 or V20AR1)

To retrieve the template_url you can either look at the latest terraform example on Github or it can be retrieved by going through the UI deployment through the Marketplace and getting the template URL for the latest release.

As of 7/26/21 the template_url for Purity 6.1.7 is here.

Once you do your terraform init, terraform plan and terraform apply in ~15 minutes all your resources including CBS will be fully deployed!

Destroy the Pure Cloud Block Store on AWS Quick Launch

To clean up the environment there are manual steps that need to be taken as the current version (0.5.0) of the Terraform Provider does not handle the decommision of the Pure Cloud Block Store. This needs to be done manually before we can run terraform destroy. In a future release of the Terraform Provider we will be able to handle the automatic decommision of the Pure Cloud Block Store.

See below for the 3 steps we will need to clean up the AWS Quick Launch.

Decommission Pure Cloud Block Store

The Instructions to Remove Cloud Block Store cover the steps.

To begin you will ssh into your test VM that was created, create a factory reset token, and then do a factory reset of the array. This will handle the cleanup and remove the array object from Pure1.

Destroy the AWS Resources

Once the factory erase has been completed the CloudFormation Stack will be automatically removed cleaning up all the CBS AWS Resources. Once the stack has been removed you can run terraform destroy to clean up the remaining AWS resources created for the Quick Launch.

What’s Next?

This blog covered how to automate the deployment of CBS in AWS. Now take a look and see what else you can do with Pure Cloud Block Store. Will you run Production? Will you do Test/Dev? Will you do DR? It’s up to you. I have already discussed how you can cover some of these use cases so try them out and let us know what you think!


I love the idea of bringing enterprise storage features to the public cloud. This ease of deployment makes it even easier to consume Pure Cloud Block Store in AWS.

If you have any additional questions or comments, please leave them below!

comments powered by Disqus

See Also