top of page
Writer's pictureSimon Roberts

Save Money by Powering Off AWS EC2 Instances When Not in Use

Hey there! If you're like many folks using AWS EC2 instances for your projects, you might have noticed that the costs can add up pretty quickly. One of the simplest ways to save some cash is to power off your EC2 instances when you're not using them. Let's dive into why this is so important and how you can make it super easy with a nifty tool called Revolver.


Why Power Off Your EC2 Instances?

First things first, let's talk about why you should bother powering off your EC2 instances when they're not in use. Here are a few reasons:


1. Saving Money: This is the big one. AWS charges you for running instances by the hour. If your instances are sitting idle, you're still racking up those costs. Powering them off when they're not needed can lead to significant savings.


2. Resource Management: Running fewer instances means you're using fewer AWS resources. This can help you manage your cloud resources more efficiently and avoid any unnecessary expenses.


3. Security: Idle instances can sometimes be a security risk. By powering them off, you're reducing the attack surface and potential vulnerabilities.


How to Make It Easier with Revolver

Now, I know what you're thinking: "But powering off instances manually sounds like a hassle!" And you're right.

That's where Revolver comes in. Revolver is an awesome tool that can automate this process for you. Let's take a closer look at how Revolver can make your life easier.


What is Revolver?

Revolver is an open-source tool designed to help you manage your AWS EC2 instances more effectively. With Revolver, you can automate the process of stopping and starting your instances based on your needs. This means you can set it up once and let it handle the rest, saving you both time and money.


Key Features of Revolver

1. Automation: Revolver can automatically stop your instances when they're not in use and start them up again when needed. This ensures you're only paying for what you actually use.


2. Scheduling: You can set up schedules for when your instances should be powered on or off. This is perfect if you have regular hours of operation and want to ensure your instances are running only during those times.


3. Tag-Based Management: Revolver allows you to use tags to manage your instances. This makes it easy to organise and control which instances should be affected by the automated actions.


4. Easy Setup: Getting started with Revolver is straightforward. The tool comes with comprehensive documentation to guide you through the setup process.


How to Get Started with Revolver

Ready to give Revolver a try? Here's a quick guide to get you started:


1. Check out the Documentation: Head over to the Revolver GitHub page and read through the README guide. This will give you a good overview of what the tool can do and how to set it up.


2. Install Revolver: Follow the installation instructions provided in the documentation. You'll need to have Python and some AWS credentials ready.

Watch this space for an upcoming series on deploying and configuring Revolver: including build pipelines, deployment to AWS Lambda via IAC, both central configuration and resource Tag-based configuration, logging and auditing, and more.


3. Configure Your Instances: Use tags to specify which instances you want Revolver to manage. Set up your desired schedules and automation rules.


4. Sit Back and Relax: Once everything is configured, let Revolver take over. It will handle powering off your instances when they're not needed and powering them back on when they are.


Things to Watch Out For

While powering off your EC2 instances can save you money, there are a few things to keep in mind to avoid potential issues:


1. Existing AWS Reservations: If you have reserved instances, you're paying for them whether they're running or not. Be sure to consider this in your cost-saving strategy. Learn more about AWS Reserved Instances.


2. Scheduled Jobs During Downtime: Make sure no critical jobs are scheduled to run during the time your instances are powered off. This includes backups, virus checks, and nightly import/export jobs.


3. External Dependencies: Check if any external systems depend on your instance. If your instance goes down, it could impact those systems.


4. Fixed Price Licensing: Some software licenses are tied to the instance and may not function correctly if the instance is powered off for too long. Learn about AWS Licensing.


5. Alerting and Monitoring Systems: Ensure your alerting and monitoring systems are aware of the instance downtime to avoid unnecessary alerts. This includes load balancers that might expect the instance to be available. Check out AWS Monitoring and Alerting.


6. Subscription-Based Tools: Tools like RedHat Enterprise Linux (RHEL) may disconnect if the system is unavailable for too long. Be mindful of any subscription-based services your instances rely on. Learn more about RHEL Subscriptions.


Need a Helping Hand?


If all of this sounds a bit too technical or time-consuming, don't worry! Innablr can help you out. They offer professional services to assist you with setting up and managing your EC2 instances using Revolver. Whether you need help with the initial setup or ongoing management, Innablr has got your back. You can learn more about their services at Innablr.


Super Easy with SaaS

And here's an even better option: If you want an even easier solution, Innablr offers a Software as a Service (SaaS) implementation of Revolver. This means you can get all the benefits of Revolver without having to deal with the setup and maintenance yourself. It's super easy to set up and start saving money right away. For more details, just contact Innablr, and they'll get you sorted.


Conclusion

Powering off your AWS EC2 instances when they're not in use is a simple yet effective way to save money. By using Revolver, you can automate this process and ensure you're not paying for idle instances. So why not give it a try? Check out Revolver today and start saving!


Remember, saving money on AWS doesn't have to be complicated. With a little help from tools like Revolver and the expertise of Innablr, you can streamline your operations and keep those costs under control.


Happy saving!
bottom of page