resources

Amazon S3

Adding object storage to Noop Applications using Amazon S3.

Noop provides an Amazon S3 Resource to associate object storage with your application Components. Amazon S3 is “object storage built to store and retrieve any amount of data from anywhere.”

Usage

To create an S3 bucket on Noop, add it to your Blueprint Manifest (blueprint.yaml) under the resources property. Specify the type as s3 and include an alphanumeric name. The name is used to reference the Resource from Application Components.

Here’s a complete blueprint.yaml example:

components:
  - name: ExampleService
    type: service
    image: node:24-alpine
    runtime:
      resources:
        - S3Bucket
      variables:
        S3_BUCKET:
          $resources: S3Bucket.bucket
        S3_ENDPOINT:
          $resources: S3Bucket.endpoint
resources:
  - name: S3Bucket
    type: s3

When an S3 Resource is connected to an Application Component, the following dynamic runtime variables are available to use within the blueprint.yaml components.[n].runtime property:

  • endpoint
  • bucket

To reference a Resource property, use the special $resources key. See the following example:

components:
  # ...
  - runtime:
      resources:
        - S3Bucket
      variables:
        S3_ENDPOINT:
          $resources: S3Bucket.endpoint

As with all Noop resources, the Resource Explorer allows you to browse all data stored in the S3 bucket. The Resource Explorer is available on the S3 Resource page within the Noop Console.

Note: The bucket is not accessible from the public internet.