Giter VIP home page Giter VIP logo

amazon-archives / cost-optimization-ec2-right-sizing Goto Github PK

View Code? Open in Web Editor NEW
89.0 32.0 44.0 64 KB

The EC2 Right Sizing solution has reached the end of its useful life. Right-sizing functionality is available as a native feature of AWS Compute Optimizer. Details here: https://aws.amazon.com/compute-optimizer/. The solution will be removed the AWS Solutions library and archived on GitHub. Archived solutions will continue to be available on GitHub; however, the AWS Solutions Team has no further plans to update or provide technical support for the solution.

License: Apache License 2.0

Python 93.45% Shell 6.55%

cost-optimization-ec2-right-sizing's Introduction

AWS Cost Optimization: EC2 Right Sizing

Source code for the AWS solution "Cost Optimization: EC2 Right Sizing". Please see the main solution for the Cost Optimization: EC2 Right Sizing.

Cloudformation template

/deployment

  • cost-optimization-ec2-right-sizing.template

You will need to replace %%BUCKET_NAME%% & %%VERSION%% in the template to point to the bucket where you put your own copies of the Python source code below.

Python source code

/source

  • callgcw.py
  • deleteandterminate.py
  • getcloudwatchmetrics.py
  • run-rightsizing-redshift.py

Troubleshooting

Log files are exported to the CloudWatch Logs log group cost-optimization-ec2-right-sizing, log streams: {instance_id}/cfn-init.log {instance_id}/run-rightsizing-redshift.log {instance_id}/deleteandterminate.log

Log files are also located locally on the solution created EC2 instance (if you chose to not terminate resources): /var/log/cfn-init.log /tmp/run-rightsizing-redshift.log /tmp/deleteandterminate.log


Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://www.apache.org/licenses/

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.

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.