A Tale of Creating Cloud Instances in AWS, GCP, and Azure

Master raj
7 min readJan 15, 2024

--

Step into the Cloud Kingdom ☁️✨

Amazon EC2 (Elastic Compute Cloud):

Meet our tech hero, EC2!

Description: Think of Amazon EC2 as the genie 🧞‍♂️in the cloud lamp. It grants your wishes for virtual servers instead of three wishes. No need to rub a lamp; just click and launch instances!

Key Features:

Scalability: Example: It’s like having a pizza place that automatically delivers more pizzas when your friends unexpectedly drop by for a movie night.

Instance Types: Example: EC2 offers a menu of instances — from the speedster for quick tasks to the heavyweight for those resource-hungry applications. It’s like ordering a sports car or a moving truck, but for your computations.

Pricing Models: Example: On-Demand is your pay-as-you-go option, like enjoying Netflix. Reserved Instances are like subscribing for a year, getting a discount — it’s the Costco membership of the cloud.

Operating System Support: Example: Just like a Swiss Army knife, EC2 supports various operating systems. Whether you’re a Linux guru or a Windows wizard, EC2 has you covered.

Google Compute Engine:

Buckle up! With Compute Engine 🚗💨

Description: Google Compute Engine is like a cloud butler — your virtual assistant that handles all things compute-related.

Key Features:Custom Machine Types: Example: It’s the Goldilocks approach to VMs — not too big, not too small, just right. Create a VM that fits your workload perfectly, like ordering a custom-made sandwich.

Preemptible VMs: Example: These are the Cinderella of VMs — they’re cost-effective but have to leave the ball when their time is up. Perfect for tasks that don’t mind a bit of interruption, like a self-destructing message.

Pay-as-You-Go Pricing: Example: Imagine your coffee shop giving you a discount for every cup you drink throughout the month. That’s sustained use pricing — the more you use, the more you save.

Live Migration: Example: It’s like moving house without leaving your living room. Google Compute Engine can shift your VMs around without any disruption, as if hiring magical movers.

Microsoft Azure Virtual Machines:

Say hello to Azure VM 🦎💻

Description: Azure Virtual Machines is your cloud chameleon 🦎— adapting to any workload with its diverse range of virtual shapes and sizes.

Key Features:VM Sizes: Example: Azure VMs are like shoes; different sizes for different tasks. From Cinderella’s glass slipper to Bigfoot’s hiking boots, there’s a size for everyone.

Availability Sets: Example: If VMs were actors, availability sets ensure they’re not all on the same lunch break. It’s the Hollywood director’s trick for high availability — no movie flops here!

Managed Disks: Example: It’s like having a magical backpack that automatically expands to fit all your belongings. Azure’s managed disks grow with your storage needs.

Hybrid Cloud Capabilities: Example: Azure Virtual Machines are the diplomats of the cloud world, seamlessly connecting your on-premises data center to the Azure cloud. It’s like having a conference call between your office and the cloud.

Reffer Links For More in Detail About Compute Engine

Now Lets See How to create This instances on Each Cloud Provider.

Amazon EC2 (AWS):

Console:

  1. Navigate to the AWS Management Console.
  2. Go to the EC2 dashboard.
  3. Click on “Launch Instance” and follow the wizard to configure your instance details, choose an Amazon Machine Image (AMI), configure instance types, add storage, and set security groups.
  4. Review and launch the instance.

Google Compute Engine (GCP):

Console:

  1. Go to the Google Cloud Console.
  2. Navigate to Compute Engine.
  3. Click “Create Instance” and fill in the details like instance name, region, machine type, boot disk, and network tags.
  4. Click “Create” to provision the instance.

Azure Virtual Machine (Azure):

Console:

  1. Go to the Azure Portal.
  2. Navigate to “Virtual machines” and click on “Add.”
  3. Fill in the instance details like subscription, resource group, instance name, region, image, and authentication.
  4. Click “Review + create” and then “Create” to deploy the instance.

Check out these snapshots above — it’s like a sneak peek into the backstage of the cloud circus! 🎪 Wondering how to create your own cloud magic? Stay tuned for our next blog where we’ll turn learning into a fun project. Think of it as a cloud adventure — we’ll guide you through the portal jungle with laughs and giggles, making the tech stuff as easy as a game. Get ready to chuckle your way through cloud instances like a tech wizard! ✨ Stay tuned for the cloud party!

Scenario Based Understanding

1. Amazon EC2:

Scenario: Web Application Hosting

  • Use Case: Imagine you’re launching a new e-commerce platform. Amazon EC2 can be utilized to host the web application, allowing you to scale your server infrastructure based on fluctuating user demand. You can deploy different instances for the web server, application server, and database, optimizing resources as needed.

2. Google Compute Engine:

Scenario: Data Analysis and Machine Learning

  • Use Case: Let’s say you’re working on a data-intensive project that involves heavy computations and machine learning tasks. Google Compute Engine can be employed to create powerful virtual machines suitable for running data analytics algorithms, training machine learning models, and handling large datasets efficiently.

3. Azure Virtual Machines:

Scenario: Enterprise IT Infrastructure

  • Use Case: In a corporate setting, where a robust IT infrastructure is required to support various business applications, Azure Virtual Machines come into play. Azure VMs can be used to run Microsoft-based workloads, such as Windows Server applications, Active Directory services, and enterprise-level databases.

Commonalities and Differences:

  • Common Use: All three services are versatile and can be used for general-purpose computing needs.
  • Differences: EC2 is often favored for its vast array of instance types and services. Compute Engine is known for its flexibility and scalability, particularly in data-centric applications. Azure VMs are frequently chosen by enterprises relying on Microsoft technologies and seeking seamless integration with Azure services.

Next Steps and Teasers: Scripting the Cloud Symphony! 🚀

Get ready for a coding adventure in the cloud! 🌐✨ In myupcoming blog, i am diving into the fascinating world of scripting to orchestrate the creation of instances on Amazon EC2, Google Compute Engine, and Azure Virtual Machines — all with a few lines of magic code! 🎩🔮

What’s in Store:

  1. Unified Scripting Magic: We’re demystifying the scripting universe by creating a single script that deploys instances across EC2, Compute Engine, and Azure VMs simultaneously. It’s like conducting a cloud symphony with just a few keystrokes!
  2. Hands-on Coding: No need to fear the command line — we’ll guide you through each line of code. Whether you’re a coding newbie or a seasoned developer, our step-by-step instructions will make you a scripting virtuoso.
  3. Project Showcase: Witness the power of scripts in action as we embark on a project that showcases the seamless integration of these cloud services. It’s not just about code — it’s about creating something awesome!
  4. Q&A Lightning Round: Got burning questions about scripting, instances, or cloud magic in general? Drop them in the comments, and we’ll tackle them in a lightning-round Q&A session.

Get ready to script your cloud dreams into reality! ☁️💻 Stay tuned for a blog that will turn you into a cloud coding maestro! 🌟”

ok So Thats It for This Blog i hope you liked My BookStore come back again to read some more good stuff If you have not seen my Last Blog on Cloud have a look here

— — — — — — — — — — — — — —-The End — — — — — — — — — — — — —

If you enjoyed reading this blog, please share it with your friends and make sure to subscribe to our YouTube channel for more exciting content. Help us spread the word about our expertise in MERN stack development, cloud computing, React Native, and Next.js, and stay tuned for more informative articles to come. Together, we can take the tech world by storm!

In the Mern Stack Projects section you can find tutorials, tips, cheat sheets, and other projects. Our talks also focus on React Frameworks like NextJs,AWS Cloud So join us today to keep up with the latest technology🩷

📠 🏅:- Mern Stack Projects

🎦 🥇:- Jara diary — YouTube 🚦

🎦 🥈 :- Errormania — YouTube 🚦

On GITHUB :- raj-28 (Raj) (github.com)

💌 Do Subscribe To Our Mailing List To stay Updated With All New Blogs 👍

…………🚦…… ……………🚧………………..🚦……………….️

Use Emojis From Here In Case You Need Any….🚦🛣️🥇🥈🥉🏅🎖️🎦👍🛑

--

--

Master raj

Certified MERN Stack Developer from Infosys, now sharing expertise on #InCloudByRK. Proficient in MERN Stack, AWS, GCP, Azure DevOps. Let's level up!