Skip to content

Offline environment #25

@mcopik

Description

@mcopik

At the moment, we support deployment and execution at the AWS cloud only. This has several disadvantages: local environment would provide much quicker testing and development, and would allow others to test the code without having to pay for the AWS cloud.

In the past, we tried using serverless-offline packages, but these did not support triggering Lambda invocations from DynamoDB Streams. Fortunately, We added support for SQS invocations. We should develop a new config aws_offline.yml that will use the available offline components from the Serverless framework to deploy and execute FaaSKeeper locally. Since our system is complex and involves several services, we should build and test this iteratively.

  • Deploy serverless offline Lambda and test that functions can be invoked.
  • Deploy offline SQS and verify that we can use it to trigger functions.
  • Deploy offline DynamoDB and check that system state works.
  • Deploy offline S3 and verify that user data is persisted.
  • Adjust the client library to use the offline deployment when needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions