GithubHelp home page GithubHelp logo

schunsukesuzuki / aws-auto-operations-using-lambda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uzresk/aws-auto-operations-using-lambda

0.0 2.0 0.0 97 KB

It is automated using the Lambda the operation of aws

License: MIT License

Java 100.00%

aws-auto-operations-using-lambda's Introduction

AWS operation using the Lambda

Tool to automate the AWS of operation using the Lambda.

Provides

  • Instance Start/Stop/CheckState
    • Make the start and stop of the instance(multiple instances) with the specified schedule in CloudWatchEvent.
    • When a parameter to you set the QueueName and Endpoint, request of the start or stop of the instance is to create a message in and thrown successfully SQS.
    • You can be sure that the messages that have been made to SQS regularly instance by polling has been successfully start or stop.
  • EBSSnapshot
    • Do the acquisition and generation management of ebssnapshot at the timing set by the CloudWatchEvent.
    • To identify the target of volume to get a snapshot There are three ways.
        1. To specify the volume ID in json
        1. To specify multiple volume ID in json
        1. To specify the tag that has been granted to the EBS in json
  • Create Image(AMI)
    • Do AMI creation and generation management along the set schedule in CloudWatchEvents.
        1. To specify the instance ID in json
        1. To specify multiple instance ID in json
  • EBSCopySnapshot
    • Get the EBS Copy Snapshot, perform the generation management.
    • To identify the target of volume to get a snapshot There are three ways.
        1. To specify the volume ID in json
        1. To specify multiple volume ID in json
        1. To specify the snapshot ID in json
  • DeregisterImage
    • At the timing of the AMI is deregistration to remove the EBS snapshot
  • RunCommand
    • Run ShellScript, Powershell using AWS RunCommand
    • On a regular basis by combining the Cloudwatch events can be used to execute commands on EC2

Setting of common

It may be called multiple times and call the Lambda from CloudwatchEvent. In order to prevent the creation or deletion of unexpected resources, it has secured the idempotence using DynamoDB.

Please be sure that you create the following table

  • table_name: lambda_locks
  • primary_key: function_name(String)
  • partition_key: key(String)

VolumeID is stored if EBSSnapshot the key. If the creation of Image instanceID is stored

Author

uzresk

License

MIT

aws-auto-operations-using-lambda's People

Contributors

uzresk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.