{"id":222,"date":"2024-05-26T14:22:29","date_gmt":"2024-05-26T14:22:29","guid":{"rendered":"https:\/\/www.rajeshkumar.xyz\/blog\/?p=222"},"modified":"2024-05-28T04:28:46","modified_gmt":"2024-05-28T04:28:46","slug":"what-is-aws-graviton","status":"publish","type":"post","link":"https:\/\/www.rajeshkumar.xyz\/blog\/what-is-aws-graviton\/","title":{"rendered":"What is AWS Graviton?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"396\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-25-1024x396.png\" alt=\"\" class=\"wp-image-226\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-25-1024x396.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-25-300x116.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-25-768x297.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-25.png 1178w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>AWS Graviton processors are designed by AWS to deliver the best price performance for your cloud workloads running in Amazon EC2. We invite you for a session in which we will share on how you can how you can drive Lower Total Cost of Ownership (TCO) with Graviton powered instances:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"516\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-22-1024x516.png\" alt=\"\" class=\"wp-image-223\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-22-1024x516.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-22-300x151.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-22-768x387.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-22.png 1336w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>AWS Graviton is a line of processors designed by Amazon Web Services (AWS) specifically for use in their cloud servers. These processors are based on ARM architecture, which is known for its power efficiency, making them particularly suitable for running cloud workloads.<\/p>\n\n\n\n<p>There are several generations of AWS Graviton processors:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>AWS Graviton<\/strong> \u2013 The first generation, announced in 2018, designed to deliver cost savings for scale-out workloads.<\/li>\n\n\n\n<li><strong>AWS Graviton2<\/strong> \u2013 Launched in 2019, this second generation provides significant performance improvements over the first generation, offering better compute, memory, and networking performance. It is built using a 7nm manufacturing process.<\/li>\n\n\n\n<li><strong>AWS Graviton3<\/strong> \u2013 The latest generation, which AWS announced in late 2021, provides even greater performance improvements, including better energy efficiency and faster cryptography operations.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-26-1024x314.png\" alt=\"\" class=\"wp-image-228\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-26-1024x314.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-26-300x92.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-26-768x236.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-26.png 1127w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>AWS Graviton processors power a variety of Amazon EC2 instances, providing customers options that balance compute, memory, and network resources for their applications. They are optimized for performance and cost, making them an attractive option for running everything from general-purpose applications to high-performance computing tasks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use Cases of Graviton<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-23-1024x533.png\" alt=\"\" class=\"wp-image-224\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-23-1024x533.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-23-300x156.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-23-768x400.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-23.png 1040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Components of AWS Graviton-based instances<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-24-1024x488.png\" alt=\"\" class=\"wp-image-225\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-24-1024x488.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-24-300x143.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-24-768x366.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/image-24.png 1067w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/Aws-graviton-1.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of Aws-graviton-1.\"><\/object><a id=\"wp-block-file--media-890c5453-43b2-4169-aa8c-c5cd003e5e46\" href=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/Aws-graviton-1.pdf\">Aws-graviton-1<\/a><a href=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/Aws-graviton-1.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-890c5453-43b2-4169-aa8c-c5cd003e5e46\">Download<\/a><\/div>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/AWS-Graviton-based-instances.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of AWS-Graviton-based-instances.\"><\/object><a id=\"wp-block-file--media-d6841c53-5cd3-4c1f-8e31-f16dd6a212c6\" href=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/AWS-Graviton-based-instances.pdf\">AWS-Graviton-based-instances<\/a><a href=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/05\/AWS-Graviton-based-instances.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-d6841c53-5cd3-4c1f-8e31-f16dd6a212c6\">Download<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to migrate into AWS Gravity?<\/h2>\n\n\n\n<p><a href=\"https:\/\/catalog.us-east-1.prod.workshops.aws\/workshops\/dcab7555-32fc-42d2-97e5-2b7a35cd008f\/en-US\/dockerbuild\">Graviton Developer Workshop (workshops.aws)<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"AWS re:Invent 2023 - Migrating to AWS Graviton with AWS container services (CMP404)\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/9JZVomrx6uQ?list=PLhr1KZpdzuke0JqsnC-b-ohUWuiyNUNAe\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How AWS Gravitonx support 86_64 and arm64?<\/h2>\n\n\n\n<p>AWS Graviton processors are specifically designed to use the ARM architecture, which means they natively support the <code>arm64<\/code> architecture (also known as <code>AArch64<\/code>). This architecture is used in all generations of Graviton processors.<\/p>\n\n\n\n<p>However, AWS Graviton processors do not natively support the <code>x86_64<\/code> architecture, which is the architecture used by most Intel and AMD processors. To facilitate compatibility with applications that are built for <code>x86_64<\/code> architecture, users can use various strategies:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Recompilation:<\/strong> The most straightforward way to run software on AWS Graviton processors is to recompile the source code for the ARM64 architecture. This approach generally provides the best performance and can often be done with minimal changes to the code.<\/li>\n\n\n\n<li><strong>Multi-architecture Containers:<\/strong> For containerized applications, Docker and other container technologies support multi-architecture images. These allow the same container image to include versions of the application compiled for both <code>x86_64<\/code> and <code>arm64<\/code>, with the appropriate version being used based on the underlying hardware.<\/li>\n\n\n\n<li><strong>Emulation:<\/strong> While AWS does not provide built-in emulation for running <code>x86_64<\/code> binaries on Graviton processors, software solutions like QEMU can be used to emulate an <code>x86_64<\/code> environment on ARM64 hardware. This method can be useful for testing or running legacy applications but often comes with a significant performance penalty.<\/li>\n\n\n\n<li><strong>Cross-Compilation:<\/strong> Developers can use cross-compilation tools on their <code>x86_64<\/code> machines to compile applications for <code>arm64<\/code>. This approach is useful when direct access to ARM hardware is limited during the development phase.<\/li>\n<\/ol>\n\n\n\n<p>Overall, while there is no native support for <code>x86_64<\/code> on AWS Graviton processors, the growing ecosystem around ARM architecture and the availability of various tools and techniques make it increasingly feasible to migrate and optimize applications for ARM-based environments like those powered by AWS Graviton.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Lab &amp; Excercise<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/catalog.us-east-1.prod.workshops.aws\/workshops\/dcab7555-32fc-42d2-97e5-2b7a35cd008f\/en-US\">Migrating to AWS Graviton with Container Services<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>AWS Graviton processors are designed by AWS to deliver the best price performance for your cloud workloads running in Amazon [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":4,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/237"}],"wp:attachment":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}