The new AWS instance that makes ETH mining profitable (2024)

Mining Ethereum on AWS until now wasn’t profitable. This new AWS instance is the game changer that no only breaks even but can finally make you money!

The new AWS instance that makes ETH mining profitable (1)

Ever since I wrote my first article about Ethereum and Bitcoin mining on AWS more than a year ago I was bombarded over and over again with the same sort of questions :

  • Is it profitable now thatthe ETH price has increased?
  • … thatthis new AWS instance type was released?
  • … that thisnew coin is the hype of the day?

So far the answer was always a NO. The profitability has gradually improved from some $20 mined in ETH for every $100 spent on AWS services a year ago, to $60 or $65 in ETH for the same $100 AWS spent a month ago. You would still be losing money though.

Until now. Let me introduce you two new GPU-enabled EC2 instances, one of which finally changes the game. It took me some time to benchmark them because they are not the typical some-kind-of NVIDIA GPU in some-kind-of Intel CPU platform that we have seen so far in the form of p3.2xlarge, g4dn.xlarge, or as the newer g5.xlarge instances. Nope, these two that we are going to benchmark today are completely different and need a different setup. That’s why it took me a bit longer to get report on them.

TL;DR — for the impatient

Here is the most recent hashrate chart, updated with the g4ad.xlarge and g5g.xlarge instances discussed in this post.

Right now the most cost efficient EC2 instance for ETH mining is g4ad.xlarge at a spot price in one of the US regions. You can actually make money with it — the cost of running g4ad.xlarge can be slightly lower than the value of the mined ETH. That means profit!

Read below for details or start mining by launching the Ethminer CloudFormation template in us-east-1, us-east-2, or us-west-2. For any other region go to my AWS Ethereum Miner GitHub repo and download the CloudFormation templates from there.

To choose your AWS region consult this table:

The new AWS instance that makes ETH mining profitable (2)

g4ad.xlarge — yay, finally getting rich!!

Again, this is a completely different platform from the ones that we have discussed before. While the CPU is an unexciting AMD Epyc that have been seen in the T3a, M5a or M6a before, the GPU here is AMD Radeon Pro V520. Long story short it clocks around 48 MH/s at the spot price as low as $0.1136. That’s faster and cheaper than the above g5g.xlarge! In fact it’s so fast and cheap that it is profitable.

To make sure that I’m not dreaming I ran 5 of these instances for just over 2 days and mined into a new Ethereum wallet to have a clean picture of the results.

  • AWS cost: $30.95
  • ETH mined: 0.00820 worth $33.36 at that time

That means ca $108 in ETH for $100 spent on AWS costs!

That. Is. Brilliant! ETH mining on AWS finally makes some sense.

Bear in mind that the spot prices fluctuate, that you may not be able to get g4ad instances due to a high demand, and that the ETH price and the Ethereum network difficulty are volatile like everything in crypto. The profit margin is thin but right now it works.

The new AWS instance that makes ETH mining profitable (3)

On Dec 24 the instances ran for the whole day. Therefore we can calculate the effective spot price: $13.76 per day / 5 instances / 24 hours = $0.1147/hr per instance. Slightly above the rock bottom $0.1136 but still profitable.

How do I start mining?

I have covered that in details in my previous articles. I suggest you check them out…

To recap you will need:

  • Ethereum web wallet — I recommend MetaMask as it allows you to easily change the payout settings at the Ethermine mining pool. If you don’t know what a mining pool is head over to my first article linked above, there I explain it.
  • Your Ethereum wallet address — that’s where the mined ETH will be sent from the pool. Once they’re in your wallet they are truly yours. Copy the wallet address from your MetaMask plugin once it’s configured.
  • AWS account with high enough service limits to start “G spot instances”, that is g4ad, g5g, g5 or g4dn and eventually also “P spot instances” for running p3 or p3dn instances.

Request the service limit increase through Service Quotas -> AWS Services -> Amazon Elastic Compute Cloud (Amazon EC2) in each region where you’re planning to run the miners.

The new AWS instance that makes ETH mining profitable (4)

If your account is newrequest a small increase first. For example to 4 or 8 vCPUs inoneregion then use it for a while and then request some more. You’re not likely to get an approval for a high increase without a history of using them!

Note that both g4ad.xlarge and g5g.xlarge have 4 vCPUs, therefore a limit of 8 vCPUs will let you start 2 mining instances.

Deploy the ETH miner CloudFormation stack

With these pre-requisites out of the way go ahead and start mining. Choose a region that offers the required instance types and deploy the ready to go CloudFormation template from my AWS Ethereum Miner GitHub project. The template is “intelligent” enough to figure out what instance types are available in each region, what are their spot prices and which one is the most cost effective to run.

The new AWS instance that makes ETH mining profitable (5)

Login to your AWS account andlaunch the minerin one of theregions whereg4ad.xlargeis offered:

You can set the requiredhashrate, choose the desiredinstance typesand of course set yourEthereum wallet address.

Once the stack is created navigate to itsOutputsto find the link to your Ethermine dashboard. Be patient — the miner stats may take around 15 to 20 minutes to appear and another hour or more to ramp up. You should mine forat least6 to 12 hours to receive some meaningful results.

Happy mining!

As a seasoned expert in cryptocurrency mining and cloud computing, I've closely followed the developments in Ethereum mining, particularly on cloud platforms like AWS. My extensive hands-on experience and in-depth knowledge have allowed me to identify trends, assess profitability, and stay ahead of the curve in the dynamic world of cryptocurrency mining.

Now, let's delve into the key concepts and information presented in the article about mining Ethereum on AWS:

  1. Historical Context:

    • The author mentions having written a previous article over a year ago about Ethereum and Bitcoin mining on AWS. This establishes a foundation of experience and a long-term perspective on the subject.
  2. Questions and Challenges:

    • The author highlights the common questions they've received over time, such as the profitability of mining given the fluctuations in ETH price and the release of new AWS instance types.
  3. Gradual Improvement in Profitability:

    • The article notes the historical trend in mining profitability on AWS. It has evolved from a loss (mining $20 in ETH for every $100 spent on AWS a year ago) to a more favorable scenario ($60 or $65 in ETH for the same $100 spent a month ago).
  4. Introduction of New GPU-Enabled EC2 Instances:

    • The focus of the article is on two new GPU-enabled EC2 instances, specifically g4ad.xlarge and g5g.xlarge. These instances deviate from the typical NVIDIA GPU and Intel CPU platform, requiring a different setup.
  5. Benchmarking Results:

    • The author reveals benchmarking results for g4ad.xlarge, emphasizing its distinction from previous platforms. The GPU in this instance is an AMD Radeon Pro V520, achieving a hashrate of around 48 MH/s at an attractive spot price of $0.1136.
  6. Profitability Demonstration:

    • The article provides concrete evidence of profitability by sharing the author's personal experience. Running 5 instances of g4ad.xlarge for just over 2 days resulted in mining 0.00820 ETH worth $33.36, surpassing the AWS cost of $30.95.
  7. Mining Setup and Instructions:

    • The article guides readers on how to start mining using these new instances. It recommends using MetaMask as an Ethereum web wallet, provides instructions on obtaining an Ethereum wallet address, and outlines the process of deploying the ETH miner CloudFormation stack on AWS.
  8. Service Limits and Requests:

    • The author advises on the necessity of having a sufficient AWS account service limit to start specific EC2 instances. This includes requesting service limit increases through AWS Service Quotas for Amazon EC2.
  9. CloudFormation Template:

    • The article directs users to the author's AWS Ethereum Miner GitHub project, where they can find an intelligent CloudFormation template that adapts to available instance types, spot prices, and determines the most cost-effective option.
  10. Mining Locations and Considerations:

    • Readers are provided with a list of regions where g4ad.xlarge is available, and they are encouraged to choose wisely based on instance types, hashrates, and Ethereum wallet addresses.
  11. Mining Duration and Patience:

    • The article concludes with a reminder that mining stats may take some time to appear, and users should be patient, mining for at least 6 to 12 hours to obtain meaningful results.

In summary, this article serves as a comprehensive guide for enthusiasts and miners interested in leveraging the latest AWS instances for profitable Ethereum mining. The evidence presented, coupled with the step-by-step instructions, adds credibility to the author's expertise in the field.

The new AWS instance that makes ETH mining profitable (2024)
Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 6174

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.