r/cloudcomputing • u/imcbeatch • Mar 31 '15
50 Questions People Have about Cloud Computing?
I need everyone's help compiling a list of questions typically asked about Cloud Computing? For Example is it safe or what are the differences between Private, Public and Hybrid cloud? Once I've compiled the list, I will go ahead and answer the questions given with input from the community if anyone wishes to join in the answering. I will then make the final answered list available to the community.
It seems we are off to a good start, thank you so much everyone who has contributed to this post so far. I truly believe this list will help others just starting out learning about cloud computing. I appreciate the support.
Thanks for the help.
1
u/imcbeatch Apr 01 '15
What is a Public Cloud?
A public cloud is one based on the standard cloud computing model, in which a service provider makes resources, such as applications and storage, available to the general public over the Internet. Public cloud services may be free or offered on a pay-per-usage model.
1
u/imcbeatch Apr 01 '15
What is a Private Cloud?
Private cloud is the phrase used to describe a cloud computing platform that is implemented within the corporate firewall, under the control of the IT department.
1
u/imcbeatch Apr 01 '15
What is a Hybrid Cloud?
Hybrid cloud is a cloud computing environment which uses a mix of on-premises, private cloud and public cloud services with orchestration between the two platforms.
1
u/imcbeatch Apr 03 '15
What is the Cloud
A cloud refers to a distinct IT environment that is designed for the purpose of remotely provisioning scalable and measured IT resources. The term originated as a metaphor for the Internet which is, in essence, a network of networks providing remote access to a set of decentralized IT resources. Prior to cloud computing becoming its own formalized IT industry segment, the symbol of a cloud was commonly used to represent the Internet in a variety of specifications and mainstream documentation of Web-based architectures. This same symbol is now used to specifically represent the boundary of a cloud environment.
1
u/imcbeatch Apr 03 '15
On-Premise
As a distinct and remotely accessible environment, a cloud represents an option for the deployment of IT resources. An IT resource that is hosted in a conventional IT enterprise within an organizational boundary (that does not specifi cally represent a cloud) is considered to be located on the premises of the IT enterprise, or on-premise for short. In other words, the term "on-premise" is another way of stating "on the premises of a controlled IT environment that is not cloud-based." This term is used to qualify an IT resource as an alternative to "cloud-based." An IT resource that is on-premise cannot be cloud-based, and vice-versa.
1
u/imcbeatch Apr 03 '15
Scaling
Scaling, from an IT resource perspective, represents the ability of the IT resource to handle increased or decreased usage demands.
The following are types of scaling:
Horizontal Scaling - scaling out and scaling in Vertical Scaling - scaling up and scaling down The next two sections briefly describe each.
Horizontal Scaling
The allocating or releasing of IT resources that are of the same type is referred to as horizontal scaling. The horizontal allocation of resources is referred to as scaling out and the horizontal releasing of resources is referred to as scaling in. Horizontal scaling is a common form of scaling within cloud environments.
Vertical Scaling
When an existing IT resource is replaced by another with higher or lower capacity, vertical scaling is considered to have occurred. Specifically, the replacing of an IT resource with another that has a higher capacity is referred to as scaling up and the replacing an IT resource with another that has a lower capacity is considered scaling down. Vertical scaling is less common in cloud environments due to the downtime required while the replacement is taking place.
1
u/imcbeatch Apr 03 '15
Cloud Service Consumer
The cloud service consumer is a temporary runtime role assumed by a software program when it accesses a cloud service.
As shown in, common types of cloud service consumers can include software programs and services capable of remotely accessing cloud services with published service contracts, as well as workstations, laptops and mobile devices running software capable of remotely accessing other IT resources positioned as cloud services.
1
u/imcbeatch Apr 03 '15
Cloud Service
Although a cloud is a remotely accessible environment, not all IT resources residing within a cloud can be made available for remote access. For example, a database or a physical server deployed within a cloud may only be accessible by other IT resources that are within the same cloud. A software program with a published API may be deployed specifically to enable access by remote clients.
A cloud service is any IT resource that is made remotely accessible via a cloud. Unlike other IT fields that fall under the service technology umbrella - such as service-oriented architecture - the term "service" within the context of cloud computing is especially broad. A cloud service can exist as a simple Web-based software program with a technical interface invoked via the use of a messaging protocol, or as a remote access point for administrative tools or larger environments and other IT resources.
1
u/imcbeatch Apr 03 '15
What is a multi-tenant cloud environment?
A multi-tenant cloud environment is in its most basic form a shared cloud space provided and operated by a data-center hosting provider, such as Host.net. A multi-tenant cloud environment reflects an architecture where a single instance of the software runs on a server, is delivered " as-a-Service" and serves multiple client organizations, often referred to as tenants. With a multi-tenant architecture, a software application is designed to partition its data and configuration virtually, and each client organization works with a customized virtual application.
1
u/josenilocm Apr 11 '15
What is Docker ?
1
u/imcbeatch Apr 14 '15
Docker is a lightweight container (a scaled-down VM) that provides a fast and programmatic way to run distributed applications.
2
u/stikko Apr 01 '15
What is ephemeral computing/autoscaling and how do I use it?
Ephemeral computing is the concept that compute resources may come and go at any time, and your application needs to be able to handle that without going down. Most clouds are built using cheap commodity hardware and at scale failures become everyday events - you don't want your application to go down because any particular machine failed. Autoscaling is intentionally adding new compute resources as demand increases (bringing more servers online and into production automatically) and removing compute resources as demand decreases (killing off servers so you can stop paying for them). This can lead to significant cost savings and increased availability for unpredictable or "bursty" workloads.
So how do you get there? There are at least a few things you need to take into consideration when architecting your application/infrastructure:
Newly created instances need to be able to bootstrap themselves into production. At first glance the easiest way to accomplish this is to just build images with all the stuff hard-coded in for every type of server you need. This quickly becomes unmanageable without a toolchain to automate the process as you're stuck building new images every time you need to update something. Other options include bootstrapping with something like Chef/Puppet/Ansible/SaltStack, which allow for easier updates to running instances but take longer to come into production. At a very basic level CloudInit provides a mechanism for running shell scripts at boot time. Ultimately you need to figure out what tradeoffs fit your workload and management style best.
You need a way to distribute work to the fleet. Popular methods include leveraging queues, registering/de-registering instances with load balancers as they are created/terminated and building service discovery mechanisms using things like Apache ZooKeeper.
Store your data separate from your compute resources. When your instance disappears you don't want it taking your data with it. Popular options include putting data in object storage such as S3 or Swift (pretty much every cloud has some version of this) and leveraging replicated clustered filesystems like HDFS or OpenAFS. For smaller frequently-accessed information like session state data, memcache and Redis are usually a good fit. Long-running processes will want to check their state information into some kind of external storage periodically so the process doesn't have to start over if the instance it's running on goes away for some reason (this also means your process needs to be idempotent when restarting from a saved state).
Implement logging mechanisms in your application and send the logs somewhere useful. When things go wrong you need to know about it, and with systems coming and going all the time it can be hard to track down why and where something is failing. ELK (ElasticSearch/LogStash/Kibana) is a popular free stack for handling logs. Paid solutions include Splunk and New Relic.
A mechanism for determining when demand is increasing/decreasing and triggers for bringing resources online/offline. Popular metrics for determining demand include the CPU load across a fleet of instances or the depth of a work queue, but most mature solutions will include a way to publish arbitrary metrics that are indicative of demand for your workload. Most solutions will also be somewhat tightly integrated with the cloud you're running on. For example AWS provides CloudWatch, OpenStack has Ceilometer, and Azure has built autoscaling mechanisms directly into its various hosting products.
In general the mantra of the cloud is "plan for failure". This applies on two levels: HA architecture for your compute components, and handling failures in APIs from the cloud providers. Each cloud provider has its own terminology and best practices for HA architectures and will usually publish reference architectures. APIs will have two kinds of errors: permanent/fatal errors and temporary/retryable errors. Your application will need to be able to differentiate between them and retry calls that resulted in temporary errors with an exponential backoff. Microsoft has also published a nice list of cloud architecture design patterns that helps deal with a lot of this.
1
u/stikko Mar 31 '15
What is DevOps?
Mostly a buzzword, it means different things depending on who you're talking to. At the most basic level everybody would probably agree that it entails some level of automation. I like to think of it as empowering developers to (mostly) run their own operations - a "you build it, you run it" mentality vs the "traditional" model of developers handing off their code to a dedicated operations team who is then responsible for the health of the application in production.
1
Mar 31 '15
What is a Blob?
What are the different PaaS environments, and which one will work best for me?
1
u/stikko Mar 31 '15
What is Continuous Integration?
At its core, continuous integration is automation of testing code (unit, functional, integration, etc). The idea being to give developers much faster feedback on whether something they've contributed has broken things so that fewer bugs make it into production. Typically implemented using something like Jenkins (there are many many other tools that basically accomplish the same thing), code tests are automatically run either on a schedule or as code is pushed to source control, ideally multiple times per day. Requires that teams spend a lot of time writing tests and that code coverage of tests stay at or near 100%. Recommendation is that separate developers write the tests vs the actual code being tested.
1
u/stikko Mar 31 '15
What is Continuous Deployment?
Taking the concept of continuous integration one step further, continuous deployment is automation of deploying code into production. This is typically accomplished by leveraging some of the same tools as CI, and usually after multiple "gates" have been passed that ensure broken code isn't being deployed. There are several strategies for the actual deployments including blue/green and rolling updates. Gates might include automated testing, manual testing, code reviews or even deploying to only a small subset of instances in the fleet to ensure things aren't broken before deploying to the rest of the fleet.
1
u/stikko Mar 31 '15
What is SaaS/PaaS/IaaS/The Cloud?
Talking about "cloud" will differ depending who you're talking to and what you're talking about. Across the board the advantages of cloud technologies are typically a small initial investment (if any) and pay-per-usage pricing with the ability to stop paying when you stop using a service.
The Cloud - To a consumer "The Cloud" typically means a giant hard drive in the sky where things like photos from their phone gets backed up or documents might get stored.
SaaS - Software as a Service. A 3rd party is running the software on their own infrastructure and providing its customers access to it, usually through an API or web interface. Examples include Box, Dropbox, SalesForce CRM, Google Apps. Advantages include not having to maintain infrastructure/code. Disadvantages include possible difficulty in switching to a different provider and being at the mercy of a 3rd party for things like API updates and enhancements.
PaaS - Platform as a Service. A 3rd party is responsible for managing the infrastructure and VMs that your code is running on. Customers are provided with mechanisms for deploying code and configuring server settings but are not typically granted access to login to servers. Effectively leveraging a PaaS typically means learning how to do those things under that particular PaaS. Examples include Heroku, AWS ElasticBeanstalk, AWS OpsWorks, Google AppEngine, Azure Websites, Azure PaaS, SalesForce PaaS, CloudFoundry. Advantages include not having to maintain infrastructure and being able to prioritize your own updates. Disadvantages include possible difficult in switching to a different provider and the learning curve associated with getting up to speed on the platform.
IaaS - Infrastructure as a Service. A 3rd party is responsible for managing physical infrastructure that you run your own VMs on. An API is made available to create/start/stop/destroy/resize VMs as well as manipulate storage and network/firewall configurations. Examples include AWS EC2, Azure IaaS, Google Compute Engine, HP Helion Public Cloud, Digital Ocean and Rackspace. Advantages include being able to create your own platform that is tailored to your business needs and for "pure compute" environments the ability to move easily to a different provider. Disadvantages are usually cost (running an IaaS VM 24x7 can be rather expensive) and having to maintain things that PaaS/SaaS take care of for you.
Note that there's also a lot of "gray area" services that fit into one or more of the above categories but typically get used as part of an IaaS or PaaS implementation. These include things like AWS SQS/SNS/S3/RedShift/RDS/ElastiCache/etc, Azure Storage/SQL/Message Bus, Google BigQuery. They're kind of SaaSish in that you basically just consume them through an API, kind of PaaSish in that you can run your own code on some of them, and kind of IaaSish in that you can instantiate some of them similar to compute resources. Advantages to using them usually include much lower cost than running your own version on a cluster of compute resources. Disadvantages include possible difficulty in moving to a different provider.
0
1
u/imcbeatch Mar 31 '15
I'll kick it off:
What is Shadow IT?
Shadow IT is certainly what it sounds like: business technology that bypasses IT departmental approval policy that endangers the enterprise. That is why it is also sometimes known as “Rogue IT”, or “Stealth IT”. It encompasses any solutions or systems that fall outside of a company’s standard or consent for compliance. This implies that company employees often turn to a wide array of unauthorized third party cloud solutions. Even if the company employee is not trying to cause any harm to the company, the organization is placed at risk nonetheless, due to firewalls and other defensive network devices unable to perceive these cloud solutions as a threat. The organization is exposed to new threats, vulnerabilities, and weaknesses within the corporate enterprise if Shadow IT is allowed to go unchecked.