Skip to content

Account Bootstrap/Update #6

@veselosky

Description

@veselosky

As a (potential) user of Blue Bucket
I want a browser-based tool that will help me set up the system in my own AWS account
So that I can get started with the system without being a techie.

Requires: #7 Lambda Updater

In this version of the application, we will keep it simple to keep it fast. You will need to have AWS credentials from your account, and feed them to the browser app for it to do its job. In a future version, we may introduce multi-tenancy with a separate and easier authentication system.

Tasks

  • Create a form that gathers AWS credentials. When the form is submitted, the credentials will be stored in local storage, and will be used to configure the AWS client library. On load, check for credentials in local storage. If found, configure the AWS library and skip the credentials form.
  • Check the AWS account for existing Blue Bucket Updater Lambda function. If found, invoke the Lambda function in query mode to get a list of updates available. Present an offer to install updates. If the Updater Lambda is not found, offer to install:
    • Assure: a Role to be assumed by Lambda functions.
      • Grant full permission over Lambda services
      • Grant full permission over S3 services
      • Grant full permission over API Gateway services (for future)
    • if necessary, Install latest Lambda Blue Bucket Updater
    • invoke the Updater Lambda to complete the installation/updates.

Once all is good, forward the user to the Bucket Management Form.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions