Package: cdev
Cdev - Serverless Development FrameworkCdev provides a development environment and framework that allows python developers to easily create and deploy Serverless Applications on Amazon Web Services. By providing features like automated dependency management, isolated deployment environments, and function artifact optimizations, Cdev allows developers to focus on the development of their project then deploy an optimized version of their project onto Aws with a single command.Website•DocsGetting StartedAn Aws account and credentialsRequires Python>=3.6 and pipit ishighlyencouraged to use a python virtual environmentStarting from an empty directory. Set up your python virtual environment and install the Cdev cli.$ python -m venv .venv

$ . ./.venv/bin/activate

$ pip install cdev

$ cdevCreate a new projectWhen creating a new project, you will be prompted about your Aws credentials and to link to aS3 Bucketfor your deployment artifacts to be stored in.$ cdev init demo-project --template quick-start
**Aws Credentials and S3 Bucket Selection Wizard**View the resources that will be deployed$ cdev planDeploy the resources$ cdev deployInvoke the deployed function directly from the cli$ cdev run function.execute hello_world_comp.hello_world_functionView the logs of the functionYou might have to wait a few seconds for the logs to process in the cloud$ cdev run function.logs hello_world_comp.hello_world_functionInvoke the function from the deployed HTTP endpointInvoke the deployed function via the created HTTP Api$ cdev output hello_world_comp.api.demoapi.endpoint
<url>$ curl <url>/hello_worldYou can also visit<url>/hello_worldin your favorite web browser!Delete the Resources in the Environment$ cdev destroyFor a more in depth information and examples about the capabilities of Cdev, check out ourdocumentation.FeaturesServerless Function ParsingAutomated and Optimized Dependency ManagementLight-weight isolated environmentsSupported ResourcesServerless FunctionHTTP EndpointS3 BucketDynamodbAurora DB (Mysql and Postgres)SqsSnsHosted Static Website (Aws Cloudfront)For guides on how to deploy any of these resources, check out ourdocumentationAlpha Notes and LimitationsThe project is still in analphastate, so there are still rough edges and limitations. The following are the current high level limitations of the framework.Recovery from Failed DeploymentsCertain resources require multiple API calls to generate the proper configurations in the Cloud, and if one of the API calls fails, it can cause the Cloud resource to be in a state that needs to be manually updated before continuing the deployment.Parallel DeploymentsNon-dependant resources can be deployed in parallel to reduce the total deployment time when there are many changes in a single deployment.Remote BackendThe current state of cloud resources are stored in json files. This is extremely limiting as it prevents multiple people from working on the same state at the same time.Limited Resources and Options on ResourcesWe are starting by focusing on a set of resource that we feel provide value while not being too complex. We have plans to add more resource and customization as time goes on.Codebase improvementsImprovements in unit test coverage, logging, and error handling/messaging.All of the current limitations can be navigated to use Cdev effectively for projects and solutions are being worked on to over come the documented limitations. Any issues that arise while using Cdev can be raised todaniel@cdevframework.comand will be addressed.