As we speak, Dave Brown, VP of Amazon EC2 at AWS, introduced the Graviton Problem as a part of his session on AWS silicon innovation on the Six 5 Summit 2021. We invite you to take the Graviton Problem and transfer your functions to run on AWS Graviton2. The problem, supposed for particular person builders and small groups, relies on the experiences of shoppers who’ve already migrated. It gives a framework of eight, roughly four-hour chunks to organize, port, optimize, and eventually deploy your utility onto Graviton2 cases. Getting your utility operating on Graviton2, and having fun with the improved value efficiency, aren’t the one rewards. There are prizes and swag for individuals who full the problem!
AWS Graviton2 is a custom-built processor from AWS that’s based mostly on the Arm64 structure. It’s supported by standard Linux working techniques together with Amazon Linux 2, Pink Hat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu. In comparison with fifth-generation x86-based Amazon Elastic Compute Cloud (Amazon EC2) occasion sorts, Graviton2 occasion sorts have a 20% decrease value. Total, prospects who’ve moved functions to Graviton2 usually see as much as 40% higher value efficiency for a broad vary of workloads together with utility servers, container-based functions, microservices, caching fleets, knowledge analytics, video encoding, digital design automation, gaming, open-source databases, and extra.
Earlier than I dive in to speak extra concerning the problem, try the enjoyable introductory video beneath from Jeff Barr, Chief Evangelist, AWS and Dave Brown, Vice President, EC2. As Jeff mentions within the video: identical actual workload, identical or higher efficiency, and as much as 40% higher value efficiency!
After you full the problem, we invite you to inform us about your adoption journey and enter the competition. In case you put up on social media with the hashtag #ITookTheGravitonChallenge, you’ll earn a t-shirt. To earn a hoodie, embrace a brief video along with your put up.
To enter the competitors, you’ll must create a 5 to 10-minute video that describes your undertaking and the applying you migrated, any hurdles you wanted to beat, and the value efficiency advantages you realized.
All legitimate contest entries will every obtain a $500 AWS credit score (restricted to 500 amount). A panel of judges will consider the content material entries and award extra prizes throughout six classes. All class winners will obtain an AWS re:Invent 2021 convention go, flight, and lodge for one firm consultant, and winners will have the ability to meet with senior members of the Graviton2 workforce on the convention. Listed below are extra category-specific prizes:
- Finest adoption – enterprise
Based mostly on the efficiency positive factors, complete value financial savings, variety of cases the workload is operating on, and time taken emigrate the workload (sooner is best), for corporations with over 1000 staff. The winner can even obtain an opportunity to current on the convention.
- Finest adoption – small/medium enterprise
Based mostly on the efficiency positive factors, complete value financial savings, variety of cases the workload is operating on, and time taken emigrate the workload (sooner is best), for corporations with 100-1000 staff. The winner can even obtain an opportunity to current on the convention.
- Finest adoption – startup
Based mostly on the efficiency positive factors, complete value financial savings, variety of cases the workload is operating on, and time taken emigrate the workload (sooner is best), for corporations with fewer than 100 staff. The winner can even obtain an opportunity to current on the convention.
- Finest new workload adoption
Awarded to a workload that’s new to EC2 (migrated to Graviton2 from on-premises, or different cloud) based mostly on the efficiency positive factors, complete value financial savings, variety of cases the workload is operating on, and time taken emigrate the workload (sooner is best). The winner can even obtain an opportunity to take part in a video or written case research.
- Most impactful adoption
Awarded to the workload with the most important social impression based mostly on particulars supplied about what the workload/utility does. Functions on this class are associated to fields equivalent to sustainability, healthcare and life sciences, conservation, studying/training, justice/fairness. The winner can even obtain an opportunity to take part in a video or written case research.
- Most revolutionary adoption
Functions on this class remedy distinctive issues for his or her prospects, handle new use instances, or are groundbreaking. The award can be based mostly on the workload description, value efficiency positive factors, and complete value financial savings. The winner can even obtain an opportunity to take part in a video or written case research.
Competitors submissions open on June 22 and shut August 31. Winners can be introduced on October 1 2021.
Figuring out a workload emigrate
Now that you understand what’s potential with Graviton2, you’re most likely desperate to get began and determine a workload to deal with as a part of the problem. The best workload is one which already runs on Linux and makes use of open-source elements. This implies you’ll have full entry to the supply code of each part and may simply make any required adjustments. In case you don’t have an present Linux workload that’s solely open-source based mostly, you may, after all, transfer different workloads. A strong ecosystem of ISVs and AWS providers already assist Graviton2. Nevertheless, in case you are utilizing software program from a vendor that doesn’t assist Arm64/Graviton2, attain out to the Graviton Problem Slack channel for assist.
What’s concerned within the problem?
The problem consists of eight steps carried out over 4 days (however you don’t must do the problem in 4 consecutive days). In case you want help from Graviton2 specialists, a devoted Slack channel is on the market and you may join emails containing useful suggestions and steerage. Along with assist on Slack and supporting emails, you additionally get $25 AWS credit score to cowl the price of the taking the problem. Graviton2-based burstable T4g cases even have a free trial, out there till December 31 2021, that can be utilized to qualify your workloads.
You’ll be able to obtain the entire whitepaper may be downloaded from the Graviton Problem web page, however right here is an overview of the method.
Day 1: Study and discover
The primary day you’ll study Graviton2 after which assess your chosen workload. I like to recommend that you just begin by trying out the 2020 AWS re:Invent session, Deep dive on AWS Graviton2 processor-powered EC2 cases. The Getting Began with AWS Graviton GitHub repository can be a helpful reference as you’re employed via the problem.
Evaluation entails figuring out the applying’s dependencies and necessities. As with all preparatory work, the extra thorough you’re at this stage, the higher positioned you’re for fulfillment. So, don’t skimp on this activity!
Day 2: Create a plan and begin porting
On the second day, you’ll create a Graviton2 surroundings. You should utilize EC2 digital machine cases with AWS-provided photos or construct your individual photos. Alternatively, you may go the container route, as a result of each Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (EKS) assist Graviton2-based cases.
After you could have created your surroundings, you’ll bootstrap the applying. The Getting Began Information on GitHub accommodates language-specific getting began data. In case your utility makes use of Java, Python, Node.js, .NET, or different high-level languages, then it’d run as-is or want minimal adjustments. Different languages like C, C++, or Go will must be compiled for the 64-bit Arm structure. For extra data, see the guides on GitHub.
Day three: Debug and optimize
Now that the applying is operating on a Graviton2 surroundings, it’s time to check and confirm its performance. When you could have a totally practical utility, you may check efficiency and examine it to x86-64 environments. In case you don’t observe the anticipated efficiency, attain out to your account workforce, or get assist on the Graviton Problem Slack channel. We’re right here to assist analyze and resolve any potential efficiency gaps.
Day four: Replace infrastructure and begin deployments
It’s transport day! You’ll replace your infrastructure so as to add Graviton2-based cases, after which begin deploying. We suggest that you just use canary or blue-green deployments so that a portion of your visitors is redirected to the brand new environments. While you’re comfy, you may transition all visitors.
At this level, you may have fun finishing the problem, publish a put up on social media utilizing the #ITookTheGravitonChallenge hashtag, tell us about your success, and contemplate getting into the competitors. Bear in mind, entries for the competitors are due by August 31, 2021.
Begin the problem in the present day!
Now that you’ve got some particulars concerning the problem and rewards, it’s time to start out your (migration) engines. Obtain the whitepaper from the Graviton Problem touchdown web page, familiarize your self with the small print, and off you go! And, for those who do resolve to enter the competitors, good luck!
In my function as a .NET Developer Advocate at AWS, I might be remiss if I failed to say that this problem is equally relevant to .NET functions utilizing .NET Core or .NET 5 and later! Actually, .NET 5 consists of ARM64-specific optimizations. For details about efficiency enhancements my colleagues discovered for .NET functions operating on AWS Graviton2, see the Powering .NET 5 with AWS Graviton2: Benchmarks weblog put up. There’s additionally a lab for .NET 5 on Graviton2. I invite you to take a look at the getting began materials for .NET within the aws-graviton-getting-started GitHub repository and begin migrating.