Skip to content

Tag: powershell

Using PowerShell to store S3 objects on Pure Storage FlashBlade

Update 12/5/2018: Pure Storage has modified the returned JSON file.  The AccessKey is no longer stored as Id, rather it is stored as Name.  I’ve updated the code below to reflect that.

Part of my job involves managing our storage fleet, both block storage and some file level services.  I recently had a conversation with some developers about methods in which we were storing files.  The current process involved multiple layers consisting of applications, servers, virtualization and storage systems.  Not that great for a rapidly growing file system.

I suggested to the team that we investigate the use of our Pure Storage FlashBlade investment.  The FlashBlade has native S3-compliant object store support, which would make it an ideal platform for what we were looking to do.  To prove out that the FlashBlade could be up for the task, and to give some basic examples, I leveraged the AWS Tools for PowerShell to do some file manipulation on a bucket within our FlashBlade.  If you’re looking to start doing some object storage on your FlashBlade check out the cmdlets here.  Don’t forget to check out the FlashBlade REST API guide to see how you could write some native API integration and bypass the AWS tools entirely.

Leave a Comment