Skip to content

ibm-cloud-architecture/cfp-s3-blobstore-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This extension will enable S3 as a blobstore

Clone the cfp-s3-blobstore-extension repository

You can apply all these changes before or after the initial deployment.
WARNING: If you apply this after the initial deployment, anything in the blobstore will be LOST

Setup on AWS side

  1. Log into AWS management console
  2. Open up S3
  3. Create bucket you need to create 4 buckets, and the names need to be unique.
    If you DO NOT use the names listed below, make sure you update these values in s3-vars-template.yml
    Make sure you pick the same region for each bucket and that this region is the same one you are deploying too.
  • app-package-s3-bucket-cf
  • buildpack-s3-bucket-cf
  • droplet-s3-bucket-cf
  • resource-s3-bucket-cf

Create the extension zip

  1. Do this after you create the buckets, in case you had to change a bucket name
  2. Create a zip file
zip -r ../cfp-s3-blobstore-extension.zip *
  1. Copy the zip file to the IBM Cloud Foundry installer directory
  2. Run, make sure you have the right path to the zip file
./cm extension -e cfp-s3-blobstore-extension register -p ./cfp-s3-blobstore-extension.zip
  1. Now we add the extension to our main state file:
./cm states insert -i cfp-s3-blobstore-extension
  1. At this point it is ready for use, run
launch_deployment.sh -c <uiconfig.file>

Note: If you have trouble loading changes to the extension with the same name, do an unregister first, then register the extension again.

./cm extension -e cfp-s3-blobstore-extension unregister

About

This extension enables the use of an AWS S3 blobstore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages