8000 GitHub - masmix/hmmw: AWS Lambda application for creating AWS resources
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

masmix/hmmw

Repository files navigation

hmmw

This project contains source code and supporting files for a serverless application.

Based on codebase from the project https://github.com/MichalLeszczynski/task-two Very big thanks for https://github.com/MichalLeszczynski for the amazing implementation !!!

Technologies

  • AWS Lambda
  • AWS CloudFormation
  • AWS DynamoDB
  • Python 3.x

Functionalities

  • create ec2 instance from jinja predefined cloudformation template
  • access to AWS account S3 bucets from above ec2 instance
  • API fo which accept requests with payload with ec2 machine parameters
  • upload changes to DynamoDb

Prereqisities

  1. Install the AWS CLI
  2. Configure the AWS CLI
  3. Create specific user with restricted permissons (optional)
  4. Python 3 with vitualenvironment (recomended below)
  5. Make command line installed

Virtual local environment setup

cd hmmw
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r stack_creator_function/requirements.txt

Deploy lambda functions stack

make deploy

Unit and integration tests

make test

Create ec2 instance

make deploy_payload

Ssh login into ec2 instance

make login

Destroy ec2 instance

make delete_payload

Destroy lambda functions stack

make destroy

About

AWS Lambda application for creating AWS resources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0