Questions tagged [cloud]

Cloud computing is about hardware-based services involving computing, network and storage capacities. These services are provided on-demand, hosted by the cloud provider and can easily scale up and down.

Cloud computing is about hardware-based services (involving computing, network and storage capacities), where:

  • Services are provided on-demand; customers can pay for them as they go, without the need to invest into a datacenter.
  • Hardware management is abstracted from the customers.
  • Infrastructure capacities are elastic and can easily scale up and down.

There is a powerful economic force behind this simple model: providing and consuming cloud computing services generally allows to have far more efficient resource utilization, compared to self-hosting and data center type of hosting.

Cloud Computing refers to manipulating, configuring, and accessing the hardware and software resources remotely.There are certain services and models working behind the scene making the cloud computing feasible and accessible to end users. Following are the working models for cloud computing:

  • Deployment Models
  • Service Models

Deployment Models (Cloud computing environments)

Deployment models define the type of access to the cloud, i.e., how the cloud is located? Cloud can have any of the four types of access: Public, Private, Hybrid, and Community.

DelploymentModel

Public cloud

With this environment the services and infrastructure are provided over the internet but are off-site. An anxiety with public cloud surrounds the sharing of resources; this type of environment brings security concerns and concerns of governance. This type of environment offers the greatest levels of efficiency.

Community cloud

Rather than having the infrastructure and services available to the public as with public cloud, community cloud is utilized by a group of organisations with shared interests. It may be on or off site, managed by the organisation or a third party.

Private cloud

The services and infrastructure are maintained on a private network. This environment offers the greatest levels of security and control, with the downside being that the organisation is responsible for the software and infrastructure thus reducing the cost savings. This environment is well suited to and organisation where security and control are paramount.

Hybrid Cloud

This is a mix. Hybrid cloud is probably where most organisations will find themselves. It’s a combination of consuming public services through the public cloud as well as private cloud, while still maintaining some sort of internal network as well.


Cloud service models

NIST Definition of Cloud Computing list three service models: These service models are categorized according to the responsibilities and how it is divided among the cloud service provider.

ServiceModel

  • Software as a service (SaaS): At this level everything is way more simple for the customers to consume, since they are provided with actual services generating business value to them. Service providers handle all the technological complexity and provide the support as needed.

  • Platform as a service (PaaS): Platforms that deploy applications provided by customers or partners of the PaaS provider. Design, develop and run applications.

  • Infrastructure as a service (IaaS): Servers, storage and network are delivered as cloud service. The consumer does not responsible for underlying cloud infrastructure but they have the responsibility of operating systems, storage, deployed applications, and also a limited control of some selected network components such as firewalls.

From the development perspective, cloud computing is a brand new field (which is especially true for the .NET world).

Related links:

9258 questions
72
votes
4 answers

Elastic Beanstalk without Elastic Load Balancer

I would like to switch off Elastic Load Balancer (ELB) for my Elastic Beanstalk environment. Currently I don't need it and I don't want to pay for it. It is possible to delete the ELB in EC2 managment window but then Elastic Beanstalk health state…
69
votes
9 answers

How do I make cloud-init startup scripts run every time my EC2 instance boots?

I have an EC2 instance running an AMI based on the Amazon Linux AMI. Like all such AMIs, it supports the cloud-init system for running startup scripts based on the User Data passed into every instance. In this particular case, my User Data input…
Adrian Petrescu
  • 16,629
  • 6
  • 56
  • 82
68
votes
3 answers

2PC vs Sagas (distributed transactions)

I'm developing my insight about distributed systems, and how to maintain data consistency across such systems, where business transactions covers multiple services, bounded contexts and network boundaries. Here are two approaches which I know are…
Tuomas Toivonen
  • 21,690
  • 47
  • 129
  • 225
65
votes
5 answers

Should I persist images on EBS or S3?

I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql data. In my web application people may upload images. So I should persist them. There are 2 alternatives in my mind: Save uploaded images…
enesness
  • 3,123
  • 5
  • 31
  • 33
65
votes
4 answers

Cloud Foundry explained

So I've been reading up on Cloud Foundry and yet I'm still confused as to what it is. Here is my take anyway on PaaS on CF, and hopefully you guys could tell me if I'm wrong and explain it a bit better. A traditional PaaS offering like Microsoft…
Amoeba
  • 1,573
  • 4
  • 19
  • 25
64
votes
2 answers

how to reserve a running amazon ec2 instance?

we have a large ec2 instance running in asia pacific region.we want to reserve that particular instance.In aws management console we see an option to purchase a reserved instance but there seems to be no option to change this instance into a…
Soumava
  • 661
  • 1
  • 5
  • 6
62
votes
5 answers

AWS - What are the exact differences between EC2, Beanstalk and LightSail?

What are the exact differences between EC2, Beanstalk and LightSail in AWS? What are good real time scenarios in which I should use these services?
62
votes
2 answers

Single Sign-On in Microservice Architecture

I'm trying to design a green-field project that will have several services (serving data) and web-applications (serving HTML). I've read about microservices and they look like good fit. The problem I still have is how to implement SSO. I want the…
Ido Ran
  • 10,584
  • 17
  • 80
  • 143
61
votes
6 answers

How to rename the Azure WebApp URL

For numerous time it has happened that our DevOps guys have created a Azure WebApp with incorrect URL. Which forced us the delete the resource group (as group contains web app, sql azure etc.) And re-create. Is there a way to re-name /update the…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
61
votes
3 answers

How do you create an EC2 instance with multiple key pairs?

While creating an EC2 instance, we provide a key pair name. But generally, I associate multiple SSH public/private keys with any remote server. I know that it's not possible to attach a key pair once the EC2 server has been created, but I would like…
Pattu
  • 3,481
  • 8
  • 32
  • 41
61
votes
5 answers

Difference between cloud computing and distributed computing?

I wanted to know about the difference about cloud computing and distributed computing. I read an article about cloud computing and got a feeling that somewhere there is a relation between cloud computing and distributed computing and so wanted to…
Rachel
  • 100,387
  • 116
  • 269
  • 365
60
votes
4 answers

Service discovery vs load balancing

I am trying to understand in which scenario I should pick a service registry over a load balancer. From my understanding both solutions are covering the same functionality. For instance if we consider consul.io as a feature list we have: Service…
58
votes
7 answers

Windows Azure or Amazon EC2 for ASP.NET MVC Development?

If you want to build enterprise ASP.NET MVC applications that use MSSQL databases is it better to use Windows Azure or Amazon EC2? I didn't find any satisfying answers. So what are the advantages and disadvantages of the two cloud plattforms (Price,…
Ben
  • 2,560
  • 4
  • 29
  • 43
53
votes
6 answers

Amazon EC2 - Swap root instance store device with EBS device

I have an EC2 instance with "instance store" device as a root device. Now, I would like to attach an EBS volume to that same instance, only that I want it to be the root device. Is that possible? What happens to the instance store device in such…
Sug
  • 822
  • 1
  • 7
  • 9
50
votes
4 answers

How to edit files in AWS S3 in the browser?

I have hosted my Homepage over Amazon's S3 system. In order to change information on the page, currently, I have to change the file on my computer and upload the new version. However, I would like to directly change the file in the S3 bucket within…
Jörg Rech
  • 1,339
  • 2
  • 13
  • 25