Coder Social home page Coder Social logo

cfp-s3-blobstore-extension's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.