{"id":621,"date":"2021-11-11T09:38:23","date_gmt":"2021-11-11T09:38:23","guid":{"rendered":"http:\/\/18.141.20.153\/?p=621"},"modified":"2025-08-20T11:21:50","modified_gmt":"2025-08-20T11:21:50","slug":"how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/","title":{"rendered":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">10<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh6.googleusercontent.com\/08S9hyXyV_ADJ8jx6K6t31TRQg9WbZ4uDHHgMepDGtH6v0HTXjB_l6dXUqLmyLFdlLLltjS7Ul8vr2OenhhxdN3txV2A4aFOXRJ1JFUIA2_m5V4UT0fCiXJHoXDg2xWuQbMYg1XGBlmXFHZ1GStkkA\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Understanding cloud bills and how to get the most out of the budget on AWS is becoming increasingly important as enterprises migrate more applications and services to the cloud and a larger portion of IT budgets is diverted to cloud providers. With specialized tools, economic models, and best practices, AWS cost optimization has become its own specialty. If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way to save the most of your computing cost. Spot Instances can save you up to 90% on your costs. The most important caveat is that spot instances can be terminated at any time with 2 minutes of notice.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">If you are new to AWS and Elastic Compute Cloud (EC2), refer to our blog to know everything about EC2 instances: <a href=\"https:\/\/medium.com\/workfall\/15-awsome-years-of-amazon-ec2-and-still-going-strong-fcc7916955ca\">AWS EC2<\/a>.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we will discuss EC2 Spot Instances, benefits, how it works, use cases, features, best practices, pricing, &amp; companies using it. In part 2 of this blog, we demonstrated <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-launch-ec2-spot-instances-using-amazon-ec2-auto-scaling-and-aws-application-load-balancer-part-2\/\">how to run Spot Instance On AWS<\/a> with step-by-step instructions.<\/p>\n\n\n\n<p>In this blog, we will cover:<\/p>\n\n\n\n<ul><li>What are Amazon EC2 Spot Instances?<\/li><li>Benefits of EC2 Spot Instances<\/li><li>EC2 Spot Instances vs On-Demand EC2 instances<\/li><li>How does Spot instances work?<\/li><li>Use Cases of EC2 Spot Instances<\/li><li>Features of EC2 Spot instances<\/li><li>What is a Spot fleet?<\/li><li>Best Practices for EC2 Spot Instances<\/li><li>Amazon EC2 Spot Instances Pricing<\/li><li>Companies using Amazon EC2 Spot Instances&nbsp;<\/li><li>Conclusion<\/li><\/ul>\n\n\n\n<h2>What are Amazon EC2 Spot Instances?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">You can use Amazon EC2 Spot Instances to take advantage of unused AWS EC2 capacity. When compared to On Demand rates, Spot Instances offer up to a 90% reduction. Spot Instances can be used for a variety of stateless, fault-tolerant, or flexible applications, including large data, containerized workloads, high-performance computing (HPC), and test &amp; development workloads. You can select how to launch and maintain your Spot Instances-based applications because Spot Instances are intimately connected with AWS services such as Auto Scaling, CloudFormation, <a href=\"https:\/\/www.workfall.com\/learning\/blog\/aws-developer-tools-to-build-ci-cd-pipeline\/\">Data Pipeline<\/a>, and AWS Batch.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">To further optimize workload cost and performance, you may easily combine Spot Instances with On Demand, RIs, and Savings Plan Instances. Spot Instances can help you perform hyper-scale applications at a lower cost. When EC2 reclaims capacity, you have the choice to hibernate, stop, or terminate your Spot Instances with two minutes&#8217; notice.&nbsp;&nbsp;<\/p>\n\n\n\n<h2>Benefits of EC2 Spot Instances<\/h2>\n\n\n\n<p><strong>Low, Predictable Prices<\/strong><\/p>\n\n\n\n<p>Spot Instances can be purchased for up to 90 percent less than On-Demand instances. You can also use EC2 Auto Scaling to provision capacity across Spot, On Demand, RIs, and Savings Plans Instances to balance workload cost and performance.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/n9GhFwlTpzY2yMtEURtLbxETX-vOlJEfenGNfQujWAnklMA2XQoeq-l6G1ipv6GTSf8RZrZ6zU6egAa2tbpH-u9d76bsa4Jjh5tvjGe7phWHHtarSo7Qz1oIh3Mty9VQFibjjqD4a7iWaU6HvNrhrQ\" alt=\"Benefits of Amazon EC2 Spot Instances\"\/><\/figure>\n\n\n\n<p><strong>Massive Scale<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Spot provides you with the benefits of AWS&#8217; huge operational scale. You can save a lot of money by running hyper-scale workloads, or you can speed up your workloads by performing parallel jobs.<\/p>\n\n\n\n<p><strong>Easy to use<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Spot Instances may be easily launched, scaled, and managed using AWS services like EC2 Auto Scaling and ECS, as well as third-party integrations like Terraform and Jenkins.<\/p>\n\n\n\n<h2>EC2 Spot Instances vs On-Demand EC2 instances<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/4zwyRTQhVoYcCXXTOGg0tkbwtRhpkUI25K_YO4bhltEr7zab0WV_01OLdyeYu9TUF60Ec5lku0SOPL40J0NJKYGw2eB5ahgFO1ElIkEzmtayEFh1vVFr0NFwt7KSlMoW-4DBzCF5UpG1dsbS4FqTNw\" alt=\"Spot Instances vs On-Demand Instances\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Spot instances behave identically like On-Demand or Reserved instances when they&#8217;re running. Spot instances often give a large discount over On-Demand costs, your instances can be interrupted by Amazon EC2 for capacity requirements with a 2-minute notice, and Spot prices fluctuate gradually based on long-term availability and demand for spare EC2 capacity.<\/p>\n\n\n\n<h1>How does Spot instances work?<\/h1>\n\n\n\n<p>Step 1: Before running Spot instances, refer to using Spot instances.<\/p>\n\n\n\n<p>Step 2: Choose all instances and Availability Zones that work for your workloads.<\/p>\n\n\n\n<p>Step 3: Select your interruption behavior (Stop\/Terminate).<\/p>\n\n\n\n<p>Step 4: Launch and Scale your target capacity.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/KHL5i3Djtp7nnnleFN8osCxVATsVexKNJ1WS1AnhR9gbSN_ifp3c9CSYBegxs-lWu5Iy26VjRgmF3TVNhmlnDTmSqq56cANfus-wCuyv69fOP9fnR04yDzjwwDjo3q4sEHQxUnBaSFOMYtauRpiwEw\" alt=\"How does Amazon EC2 Spot Instances work\"\/><\/figure>\n\n\n\n<h2>Use Cases of EC2 Spot Instances<\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Big Data and Analytics<\/strong>: Use Spot Instances with Amazon EMR, Hadoop, or Spark to process enormous volumes of data quickly for big data and machine learning tasks.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Containerized Workloads<\/strong>: Containers are ideal for Spot Instances since they are frequently stateless and fault tolerant. On Spot, you may run containerized workloads of any scale using Amazon ECS, Amazon EKS, or self-managed Kubernetes clusters.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>CI\/CD &amp; Testing<\/strong>: CI\/CD workloads are fault tolerant and designed to take advantage of Spot Instances&#8217; cost reductions. With the EC2 Spot Fleet plug-in, you can quickly and cost-effectively launch your CI\/CD workflows in the AWS Cloud.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/FbTuqheCiJGKpSPDeA_qc20QgWGfOXNxx8-al9kjA0wZWpe--i7DLqbG8gzwIKSoZYxf9PBX39AqUr7FfrN1AT4ECUx498i1itFHLFK7W5q2Xu-NLgFq5284BF4FjR5WRLC0Ao2QA6i-V68KnKXS3w\" alt=\"Use cases of Amazon EC2 Spot Instances\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Web Services<\/strong>: Using Spot Instances, you can maintain great web performance during high traffic at a reasonable cost. Using EC2 Auto Scaling, you may expand to tens of thousands of Spot Instances by deploying a fleet of EC2 instances behind a load balancer.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Image and Media Rendering<\/strong>: Media &amp; Entertainment studios can cost-effectively manage rendering workloads using Spot Instances, scaling on-premises or cloud infrastructures with nearly limitless capacity as projects and timelines demand.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>High-Performance Computing<\/strong>: Accelerate loosely coupled or embarrassingly parallel HPC workloads such as genomic sequencing and algorithmic trading. You can use Spot Instances with other AWS services such as AWS Batch to run HPC workloads.&nbsp;<\/p>\n\n\n\n<h2>Features of EC2 Spot instances<\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Amazon EC2 Auto Scaling Integration:<\/strong> You may use Amazon EC2 Auto Scaling groups to automatically launch and manage Spot instances, maintain application availability, and scale your Amazon EC2 Spot capacity up or down based on criteria and maximum costs.&nbsp; AWS Auto Scaling can be used to scale additional services in addition to EC2.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Optimize for cost or reduce Interruptions:<\/strong> Amazon EC2 Fleet allows you to supply compute capacity across EC2 instance types, Availability Zones, and purchasing models with a single API call, allowing you to optimize scale, performance, and cost. You can use EC2 Fleet to specify how much On Demand and Spot capacity to launch. You can also choose between several instance kinds and whether to grow capacity by cores, instances, or memory.&nbsp; In EC2 Auto Scaling, EC2 Fleet, and Spot Fleet, allocation techniques control how Spot Instances in your fleet are supplied from Spot Instance pools. By monitoring capacity measurements, the capacity-optimized allocation approach tries to provision Spot Instances from the most available Spot Instance pools. For workloads with a high cost of interruption, such as big data and analytics, image and video rendering, machine learning, and high-performance computing, this method is a strong fit. Spot Instances are launched using the lowest price allocation approach, which diversifies among \u2018N&#8217; lowest priced pools.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>On-Demand Run Instances Function Integration:<\/strong> With a single additional parameter, the Run Instances API may start Spot instances. Spot instances launched with RunInstances are identical to any EC2 instance; they offer Amazon EC2&#8217;s stability, security, performance, control, and elasticity at market-driven costs. Simply mention the market option as Spot when requesting capacity.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Stop\/Hibernate and resume Workloads: <\/strong>Instead of terminating your instances when capacity is no longer available, Spot can hibernate or pause (shutdown) them in the event of an interruption. When capacity becomes available, instances will be resumed from their previous state, allowing your instances to continue their work sooner.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Track when Spot Instances run and terminate:<\/strong> You will never pay more than the maximum fee you selected while using Spot instances. Your instance will be automatically terminated (or stopped\/hibernate, if you decide on this option on persistent request) if the Spot price exceeds your maximum willingness to pay for a given instance or when capacity is no longer available. Spot has three capabilities that allow you to keep track of and regulate when Spot instances start and stop:<\/p>\n\n\n\n<ul><li>Termination Notices.<\/li><li>Persistent Requests.<\/li><li>Block Durations.<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Amazon EMR Integration: <\/strong>Customers of Amazon Web Services can now deploy Amazon Elastic MapReduce (EMR) clusters on Spot instances, lowering the cost of processing large amounts of data on managed Hadoop clusters. Customers can use the numerous Instance Group&#8217;s capability to combine Spot instances with On Demand and\/or Reserved instances in their EMR clusters.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/BISYIuGhZrllRAWW2-fGg8Qoz94fnYx9DPSsqiBG5pyGBxsxHsIpgCDpGRx__FPoHvd3gNni4VebcXVFl1YYbY7XUsT8fT3Tu1fVsBP00AEoYYiOuc0wPKKjyVT_gMSWvtsu2513vl5fJ5eY0IjjWA\" alt=\"Features of Amazon EC2 Spot Instances\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Amazon CloudFormation Integration: <\/strong>AWS CloudFormation makes it simple to arrange and deploy a group of AWS resources, including EC2 Spot, while also allowing you to specify any dependencies or custom parameters to pass in at runtime. The cfncluster demo is a CloudFormation-based High-Performance Computing platform that can utilize Spot instances.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Amazon ECS Integration: <\/strong>Customers who use Amazon Elastic Container Service (ECS) can operate Amazon ECS clusters on Spot instances to lower the cost of operating containerized apps on Amazon ECS. Customers can utilize the Create Cluster Wizard to quickly set up an ECS cluster with Spot instances using Amazon ECS Console and Amazon EC2 Spot.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Amazon Batch Integration: <\/strong>Customers&#8217; batch computing workloads are planned, scheduled, and executed by AWS Batch. AWS Batch makes dynamic Spot Instance requests on your behalf, lowering the cost of running batch processes.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>ThinkBox Deadline Integration: <\/strong>Through the AWS Portal, Thinkbox Deadline makes it simple to set up a render farm on EC2 using Spot fleet. You may spin up an EC2 Spot fleet using any 3rd party product you desire, such as Autodesk Maya or Autodesk 3dsMax. Deadline 10 includes a file system that syncs your asset files to Amazon S3 automatically.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Attach Encrypted EBS Volumes at Launch:<\/strong> When launching the instance, you can specify an unencrypted snapshot and ask Spot to build encrypted EBS volume(s). When submitting a Spot request, specify &#8220;Encrypted: true&#8221; as the encryption behavior within block device mappings. If you specify the snapshot ID without the &#8220;Encrypted&#8221; flag and Spot creates encrypted volumes in your existing encrypted EBS snapshot, Spot will continue to produce encrypted volumes in that snapshot.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Control your Spot Instance budget:<\/strong> When you request a Spot instance, the On Demand fee will be set to the maximum price you are ready to pay per Spot instance hour. You can also give yourself more control over your Spot instance budget by indicating in your request the maximum price you&#8217;re ready to spend each instance hour. You&#8217;ll continue to pay the current Spot pricing for the duration of your instances&#8217; operation. Your instance will be terminated, paused, or hibernated if the Spot price climbs over your maximum price.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Third-Party Integration: <\/strong>To run continuous integration build tasks on Spot instances, utilize the Spot Fleet plugin for Jenkins and Atlassin Bamboo.<\/p>\n\n\n\n<h2>What is a Spot fleet?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/_gmgwsD-egwBYZAGqRqqjYjXHZNlA7nlQrvErMdHDjkhlG_1xuK2Dg7VKHufEDBWQ1944iRFWwWmrBF0fVB8GeedIrs4ZcuWbk35Q9Ps9xjEVb2GCllWgwwyTkGVEddtbdgtBaNzGl9THKH9HISlKw\" alt=\"Spot fleet\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">A Spot Fleet allows you to automatically request and manage many Spot instances for your cluster or application, such as a batch processing job, a Hadoop workflow, or an HPC grid computing project, that provides the best pricing per unit of capacity. The instance types that your application can use can be included. After the fleet is launched, you establish a target capacity depending on your application demands (in units like instances, vCPUs, memory, storage, or network throughput) and update the target capacity. Spot fleets allow you to launch and maintain the desired capacity, as well as request resources to replace those that are disrupted or terminated manually.<\/p>\n\n\n\n<h2>Best Practices for EC2 Spot Instances<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/KBawQ_aX0w0h7N7CDQNVE-iqzRqm8_DZli49JqLPVThT3dHT0YQa_OSE06jyYBM-I3FUYrsHUeFUBY5sxW7uS8Yu9BxhM1LfpUBOXleYSaK6q0wfiLsm5GLAnTebaCuMvjOnMcwdpmLuvPSryiuKqw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Spot Instances are ideal for stateless, fault-tolerant, and adaptable applications. Spot Instances, for example, are ideal for big data, containerized workloads, continuous integration\/delivery (CI\/CD), stateless web servers, high-performance computing (HPC), and rendering tasks.<\/p>\n\n\n\n<p>Its best practices include:<\/p>\n\n\n\n<ul><li>Prepare individual instances for interruptions<\/li><li>Be flexible about instance types and Availability Zones<\/li><li>Use EC2 Auto Scaling groups or Spot Fleet to manage your aggregate capacity<\/li><li>Use the capacity-optimized allocation strategy<\/li><li>Use proactive capacity rebalancing<\/li><li>Use integrated AWS services to manage your Spot Instances<\/li><\/ul>\n\n\n\n<h2>Amazon EC2 Spot Instances Pricing<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">You pay the Spot fee for the time period your instances are running when you use Spot Instances. Amazon EC2 sets Spot Instance rates, which fluctuate over time depending on long-term patterns in supply and demand for Spot Instance capacity.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Spot Instances can also be run for a preset period of time \u2013 in hourly increments up to six hours \u2013 at a 30-50 percent reduction compared to On-Demand pricing.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/gDVDGGJk8M1y7FKa7swjlABYUMgv3nYl1ZsEtd9dyK_hIaeRu4R_ZjTagmsiKgxu5PDXnUtzHPesuKRzOtsGNSScMhXcHZMWs87kt2yXrazPa8oOdZD5_HGPjDEeWnJPhmeQGfUZ-gGDhJkQ-9gzAg\" alt=\"\"\/><\/figure>\n\n\n\n<h2><strong>Charges when Spot instances are interrupted<\/strong><\/h2>\n\n\n\n<ul><li>You will not be charged if your Spot instance is terminated or stopped by Amazon EC2 within the first instance hour.&nbsp;<\/li><li>You will be charged to the closest second if you terminate the instance yourself.&nbsp;<\/li><li>You will be charged to the closest second if the Spot instance is terminated or stopped by Amazon EC2 in the next hour.&nbsp;<\/li><li>You will be charged for a complete hour if you are using Windows and end the instance yourself.<\/li><\/ul>\n\n\n\n<h2>Companies using Amazon EC2 Spot Instances&nbsp;<\/h2>\n\n\n\n<p><strong>NextRoll&nbsp;<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">NextRoll is a global pioneer in ad retargeting, with cross platform reach and capabilities to enable targeted ad campaigns across big display inventory sources. Because of the low latency, assured throughput, and ability to scale quickly, NextRoll picked Amazon EC2, S3, and DynamoDB to run their business. They also use Spot for changeable capacity, which allows them to execute workloads faster and more efficiently at a reduced cost.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/2VY1uVPwKRdb5zTJ44ij6nEOTa6otZ2YqC1o90MN9jtX7EpGd038Zz4eJIrft29BFww1OZOAHaqOBozMhZedR4vpJGyN5BLeSEFEzR-k1nUaZQBsGFIXzvzjio276gkbWiIXLeoexyMvF7AkpDwMaw\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Lyft<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">With a valuation of $5.5 billion, Lyft is a San Francisco-based ridesharing firm that is on Fortune magazine&#8217;s &#8220;Unicorn&#8221; list of hot startups. Lyft saves up to 90% a month by switching to AWS Spot instances by merely modifying four lines of code.<\/p>\n\n\n\n<p><strong>CoreLogic<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">CoreLogic is Australia and New Zealand&#8217;s largest provider of property information, analytics, and risk management services. CoreLogic reduced its computing costs by 90% by replacing its EC2 fleet with spot instances and employing a worker architecture.<\/p>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we have explored EC2 Spot instances, their benefits, features, use cases, and how it works. Spot instances are unused EC2 capacity that can save you up to 90% off On-Demand costs and can be interrupted by Amazon Web Services with a 2-minute notification. The spot is best suited for fault-tolerant, flexible workloads and uses the same underlying EC2 instances as On-Demand and Reserved Instances. We will demonstrate the full implementation of Amazon EC2 Spot instances with step-by-step instructions in our upcoming blog. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.&nbsp;<\/p>\n\n\n\n<p>For any further queries, feel free to post your comments, we are happy to help!<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">10<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Understanding cloud bills and how to get the most out of the budget on AWS is becoming increasingly important as enterprises migrate more applications and services to the cloud and a larger portion of IT budgets is diverted to cloud providers. With specialized tools, economic models, and best practices, AWS cost optimization has become its [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":624,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,4,11,205,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-11T09:38:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-20T11:21:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png\",\"width\":1200,\"height\":628,\"caption\":\"Cost Optimization with EC2 Spot Instances\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/\",\"name\":\"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage\"},\"datePublished\":\"2021-11-11T09:38:23+00:00\",\"dateModified\":\"2025-08-20T11:21:50+00:00\",\"description\":\"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?\",\"datePublished\":\"2021-11-11T09:38:23+00:00\",\"dateModified\":\"2025-08-20T11:21:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage\"},\"wordCount\":2369,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png\",\"keywords\":[\"AWS\",\"Cloud\",\"ec2\",\"EC2 Spot Instances\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog","description":"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/","og_locale":"en_US","og_type":"article","og_title":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog","og_description":"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-11T09:38:23+00:00","article_modified_time":"2025-08-20T11:21:50+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png","width":1200,"height":628,"caption":"Cost Optimization with EC2 Spot Instances"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/","name":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage"},"datePublished":"2021-11-11T09:38:23+00:00","dateModified":"2025-08-20T11:21:50+00:00","description":"If you are looking for the deepest discounts on EC2 prices and your process can be interrupted, then EC2 Spot Instance is the best way!","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?","datePublished":"2021-11-11T09:38:23+00:00","dateModified":"2025-08-20T11:21:50+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#webpage"},"wordCount":2369,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png","keywords":["AWS","Cloud","ec2","EC2 Spot Instances","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png","jetpack-related-posts":[{"id":467,"url":"https:\/\/learning.workfall.com\/learning\/blog\/15-awsome-years-of-amazon-ec2-and-still-going-strong\/","url_meta":{"origin":621,"position":0},"title":"15 AWSome years of Amazon EC2 and still going strong!","date":"November 9, 2021","format":false,"excerpt":"This year marks the 15th anniversary of Amazon EC2(Amazon Elastic Compute Cloud), marking a landmark milestone for both the firm and the computing industry it serves. The EC2 instance is at the heart of the AWS cloud platform, allowing users to rent storage, network connectivity, and computation resources. It's difficult\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWSome 15 Years of Amazon EC2","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/ec2_15yrs.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":651,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-ec2-spot-instances-using-amazon-ec2-auto-scaling-and-aws-application-load-balancer-part-2\/","url_meta":{"origin":621,"position":1},"title":"How to launch EC2 Spot Instances using Amazon EC2 Auto Scaling and AWS Application Load Balancer (Part 2)?","date":"November 11, 2021","format":false,"excerpt":"A Spot Instance is a virtual machine that runs on spare EC2 capacity that is offered at a lower price than the On-Demand price. Spot Instances allow you to request unused EC2 instances at great discounts, allowing you to dramatically reduce your Amazon EC2 expenditures. A Spot Instance's hourly pricing\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Launch EC2 Spot Instances - AWS","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-2-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":164,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-deploy-amazon-ec2-p4d-instances-in-ec2-ultraclusters-to-get-highest-performance-for-ml-training-and-hpc-in-the-cloud\/","url_meta":{"origin":621,"position":2},"title":"How to deploy Amazon EC2 P4d instances in EC2 UltraClusters to get highest performance for ML training and HPC in the Cloud?","date":"October 27, 2021","format":false,"excerpt":"Amazon EC2 P4d instances deliver the highest performance for machine learning (ML) training and high-performance computing (HPC) applications in the cloud. Amazon EC2 P4d instances are deployed in hyperscale clusters called EC2 UltraClusters that comprise the high-performance compute, networking, and storage in the cloud. Each EC2 UltraCluster of P4d instances\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"EC2 UltraClusters of P4d Instances","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/VPC.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2266,"url":"https:\/\/learning.workfall.com\/learning\/blog\/deploying-a-rust-rocket-rest-api-on-aws-ec2-with-docker-and-github-actions\/","url_meta":{"origin":621,"position":3},"title":"Deploying a Rust Rocket REST API on AWS EC2 with Docker and GitHub Actions","date":"May 16, 2023","format":false,"excerpt":"When Rust compiles code, you get an executable if you created the application using the --bin command. In this blog, we shall look at how we can create a Dockerfile to create an image with this executable. We shall then deploy this image on EC2 using GitHub Actions which will\u2026","rel":"","context":"In &quot;Backend Development&quot;","img":{"alt_text":"Deploying a Rust Rocket REST API on AWS EC2 with Docker and GitHub Actions","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/05\/Cover-Images_Part2-1-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":593,"url":"https:\/\/learning.workfall.com\/learning\/blog\/authenticate-windows-ec2-instance-aws-managed-microsoft-active-directory\/","url_meta":{"origin":621,"position":4},"title":"How to authenticate Windows EC2 Instance using AWS Managed Microsoft Active Directory?","date":"November 11, 2021","format":false,"excerpt":"Currently, 95% of enterprises use Active Directory for authentication. Adopting cloud technology successfully necessitates taking into account on-premises IT infrastructure and applications. Active Directory architecture that is both reliable and secure is a vital IT infrastructure basis for businesses that run Windows applications. The directory service can be hosted in\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Authenticate Windows EC2 - AWS","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Directory-service.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":456,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-commands-remotely-on-an-ec2-instance-using-aws-systems-manager\/","url_meta":{"origin":621,"position":5},"title":"How to run commands remotely on an EC2 instance using AWS Systems Manager?","date":"November 9, 2021","format":false,"excerpt":"If you are a System administrator and assigned a task to upgrade the packages for one application running on an EC2 instance, but due to some security restrictions, you are not permitted to access production instances via SSH or bastion host. In this situation, you can use AWS Systems Manager\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Systems Manager","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Systemsmanager.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/621"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":6,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":1816,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions\/1816"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/624"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}