What is cloud computing? On-premise vs cloud, and the three services to know

AWS and Azure cloud certification training at Edwhere Learning, Kochi

Do you need to buy your own computer to host a website? Not anymore. That's cloud.

Before cloud: on-premise

Earlier, companies followed an on-premise architecture. If I wanted to host a website, I needed a computer for it. I bought it, kept it inside my office and connected it to the internet. Making sure the internet works, doing the security, upgrading the hardware every year: all my job. You need people for that, and it's very costly. For a startup, it's really hard.

With cloud: rent instead of buying

So instead, we go to a cloud provider like AWS (Amazon Web Services), Microsoft Azure or Google Cloud Platform and ask: you have computers; can you rent us this much storage, this much RAM, this much computing power? I host my website there and pay for exactly what I use each month. That's what cloud computing really is.

We don't run servers ourselves. We rent a server and put our code on it. The provider handles all the infrastructure: buildings, power, hardware, network. We look after the software side.

On-premise

  • Buy hardware up front
  • You manage power, internet, security, upgrades
  • Hard to scale quickly
Most startups

Cloud

  • Pay monthly for what you use
  • Provider runs the infrastructure
  • Scale up or down in minutes

Cloud isn't one thing: three services to know

Inside the cloud there are hundreds of services. In the cloud you can rent just what you need: just a computer, just a place to run code, or just storage. Start with these three (AWS names shown; Azure and Google Cloud have equivalents).

TypeAWS serviceWhat you rentYou manage
A whole server (IaaS)EC2A virtual computer with the storage and RAM you chooseThe operating system and your code
Code only (serverless)LambdaThe provider runs your code only when a user requests itJust the code
StorageS3As many GB as you need, instead of buying hard disksThe files

EC2 is the closest to owning a server: you rent a computer of a given size and put your code on it. With serverless, you hand over only your application's code; when a user opens the app, the provider runs that code on some machine at that moment, and you pay only for that time. S3 stores files: website images, backups, videos.

Try it yourself: a free first project

  1. Create an AWS free tier account AWS lets new accounts use many services free for a period or up to certain credits. Set a billing alert on day one.
  2. Launch an EC2 instance Pick a small free-tier-eligible size.
  3. Host a web page Install a web server and put a simple page on it. Open it from your phone.
  4. Put an image in S3 Upload a file and use it in your page.
  5. Shut it down Stop or terminate what you don't need, so you're not billed.

Get certified in cloud

AWS & Azure cloud certification training

AWS Solutions Architect – Associate and Azure Administrator, with real projects on EC2, hosting and microservices, in Kochi or online.

See the cloud course Jobs in cloud ›

Keep reading

Frequently asked questions

What is cloud computing in simple words?

Renting computing resources, such as servers, storage and processing power, from a provider like AWS, Azure or Google Cloud over the internet, and paying for what you use instead of buying and running your own hardware.

What is the difference between on-premise and cloud?

On-premise means you buy, house and maintain your own servers. In the cloud, the provider owns and runs the infrastructure and you rent it, managing only your software.

What are EC2, Lambda and S3?

They are AWS services. EC2 rents you a virtual server, Lambda runs your code without you managing a server (serverless), and S3 stores files.

Can I learn cloud for free?

Yes, to start. AWS, Azure and Google Cloud all offer free tiers or credits for new accounts. Set a billing alert and shut down resources you aren't using.

Learn with Edwhere.

Hands-on courses in cybersecurity, IoT and programming, taught in Malayalam.