1.2.1 Cloud Concepts and Connectivity Options

Cloud Deployment Models

Before a organization can migrate any of its services to the cloud, it must first know how these services are being utilized On premise, then the organization must clarify how they want these services to operate in the cloud. An decision to migrate services to the cloud must meet these goals. There are different cloud models to choose from:

Public

Model where the tenant rents the underlying infrastructure from a third-party CSP. With this model, cloud computing resources are owned and operated by the CSP, and accessed in a multi-tenant configuration. Share resource model, the public cloud can be considered higher in potential risks related to security and performance, public cloud model resources can be provisioned, scaled up or down, and de-provisioned easily without CSP interaction.

Private

Model where the organization owns and manages the physical infrastructure. The organization sets up an on-premises cloud environment in its data centers. In this model, all resources are exclusively for the organization, and not shared, and it will cost the organization the price for the hardware, software, maintenance and management. This model is considered to minimize security and performance risks that public cloud has.

Hosted Private

Service is for a specific organization however is hosted by a third=party CSP, considerably less expensive.

Hybrid

Model allows a organization to utilize a private cloud AND a public cloud concurrently, The private cloud can be used for processing and storing sensitive data and the public cloud can be used as needed for non-sensitive data. For instance when the workload for the private cloud increases past the predetermined threshold, the non-senstive data can be temporarily moved to the public cloud for processing. When the workload decreases, the data can be moved back, making it cost-effective alternate to scaling up the private cloud drastically.

Cloud Service Delivery Models

The components that make up the infrastructure of the cloud including servers, networking, storage and software, combining for a functioning cloud platform. The three main cloud service delivery models are:

Infrastructure as a Service (IaaS)

on demand delivery and access to not yet configured resources such as servers, storage, networking and security controls. The cloud tenant is relieved of the responsibilities involved with purchasing and configuring hardware, providing the power, etc.

Platform as a Service (PaaS)

Built on top of IaaS and provides a platform for on demand delivery and access to operating systems, databases, software development tools and middleware (sits between OS and applications, provides functions not available through the OS alone)

Software as a Service (SaaS)

On demand access to fully feveloped and configured, cloud-hosted applications. The apps can be developed and tested using PaaS and then deployed to SaaS, the tenant paus an fee and accesses the app in their desktop, the vendor is responsible of updates, patches and scability.

Cloud service concepts

Scalability

concept in cloud computing referring to the capacity of a system and how it handles an increase in workload, and the ability of a system/network/process to handle a growing amount of work. In cloud computing, scalability is one of the primary benefits, allowing businesses to dynamically adjust their resources according to their needs. A scalable system can operate at the correct size for current and future needs, without gaps, and without the need to restructure their entire system. Scalability has two main types: vertical and horizontal.

Vertical scaling involves adding more power (CPU, RAM) to an existing server. This approach is limited by the capacity of the single server but can be effective for applications that require more resources without needing additional instances.

Horizontal scaling involves adding more servers to a system, this method can handle larger volumes of work by distributing the load across multiple machines, making it ideal for applications designed to run on several servers simultaneously.

Key advantages of scalability is its cost-effectiveness. Cloud providers offer pay-as-you-go pricing models, meaning businesses only pay for the resources they use, this model eliminates the need for substantial upfront investments in hardware and reduces the risks associated with over-provisioning or under provisioning resources, additionally, scalability ensures high availability and reliability. By distributing workloads across multiple servers, cloud services can maintain performance and continue operating even if some components fail. In practice, cloud environments used automated tools to manage scalability, these tools monitor resource usage and adjust resources to match demand. Scalability is crucial for businesses that experience fluctuating workloads or anticipate growth. It allows them to respond quickly to changes in demand without compromising performance or unnecessary costs.

Elasticity

Concept of a systems ability to automatically adjust its resources to meet changing workloads and demands, it allows an application to dynamically increase or decrease resource capacity in real time, ensuring optimal performance and cost efficiency, providing flexibility and responsiveness to fluctuating demands. Elasticity enables automatic scaling of resources based on predefined rules(real-time performance metrics) to ensure efficient handling of varying loads without manual intervention. It is a short-term solution in which resources are provisioned and de-provisioned, elasticity works with scalability, automating the process of adjusting resource capacity. This is cost effective, prevents waste and maximizing efficiency, enhances availability and reliability of applications by ensuring services remain performant during traffic spikes.

Multitenancy

Concept that enables multiple customers, known as tenants, to share a single instance of a software application or cloud resource while maintaining data isolation and privacy. This model allows cloud service providers to optimize resource utilization and deliver cost-effective services by hosting multiple users on the same infrastructure. In these environments, each tenant’s data and configurations are segregated, ensuring that one tenant cannot access another tenant’s information. This is through access controls, data encryption, and separate databases or schema configurations, this is more cost efficient as it allows providers to spread the cost of infrastructure, maintenance, and updates across many customers. This results in lower costs for end-users who benefit from shared resources without compromising security. It also helps with scalability as providers can scale their infrastructure to accommodate growing number of tenants without need to provision separate environments. However this can add overhead and providers will need employ advanced monitoring and resource allocation techniques to ensure fair usage and consistent performance for all tenants.

Cloud Connectivity Options

methods used to establish connections between on-premise environments and cloud services, ensuring secure and efficient data transfer data and communication. These options are critical for hybrid cloud deployments, disaster recovery, and extending on-premises networks to the cloud. the primary cloud connectivity options are Virtual Private Network and Direct Connect.

Virtual Private Network (VPN)

secure connection established over the internet between an on-premises network and a cloud provider’s network. VPNs use encryption to protect data in transit, ensuring secure communication.

VPNs have several practical applications in cloud connectivity, such as remote access where VPNs allow remote workers to securely access on-premises and cloud resources from anywhere. This is beneficial for organizations with distributed teams or employees who work from home. There are several advantages such as cost-effective, security, and ease of deployment. However there are disadvantages, as performance can be affected by internet latency and bandwidth limitations, which could impact the quality of the connection. VPNS are scalable they may not handle very high data transfer volumes.

Direct Connect

network connection between an on-premises environment and a cloud provider, unlike VPNs, Direct Connect does not use the public internet, but a provides a private high-bandwidth connection. Direct Connect is ideal for several high-performance and secure cloud connectivity scenarios, like data-intensive applications, like real-time processing. This is beneficial for enterprise cloud migration, allowing organizations to transfer large amounts of data to the cloud quickly, with reliable and efficient data replication, minimizing downtime in the event of a disaster. The advantages are lower latency and higher bandwidth compared to VPNs, reliability, and security. However, it is more expensive and more complex than setting up a VPN.

Cloud Gateways

acilitates connectivity between different network environments. Cloud gateways enable secure and efficient communication between cloud networks and other networks, such as on-premises data centers or the public internet. They act as intermediaries, managing the flow of data and ensuring that the connections are secure and optimized for performance.

Internet Gateway

horizontally scaled, redundant, and highly available component that allows communication between instances within a Virtual Private Cloud (VPC) and the internet. It serves as a bridge, enabling instances in the cloud to send and receive traffic from the internet. Serves as a bridge, enabling instances in the cloud to send and receive traffic from the internet. They manage the security of data entering and exiting the VPC. Organizations must implement security groups and network access control lists (ACLs) to control inbound and outbound traffic effectively. Commonly used to host a public website or web application that needs to be accessible over the internet.

Network Address Translation (NAT) Gateway

enables instances in a private subnet to connect to the internet from initiating connections with those instances. This setup is crucial for maintaining security while allowing private resources to access public resources and updates. NAT gateways ensure that private instances do not directly expose their IP addresses to the internet, adding a layer of security. A common use case for a NAT gateway is allowing private instances to download software updates or communicate with external serices without exposing them to inbound internet traffic.

Network Functions Virtualization (NFV)

Cloud concept that utilizes virtualization technologies to manage core networking functions through software rather than dedicated hardware. NFV aligns with cloud principles by offering scalable, flexible and cost-effective network management. It enables rapid deployment and scaling of network functions, such as firewalls, routers and load balancers. This approach enhances resource utilization, reducing need for specialized hardware and allow dynamic adjustment of network resources based on demand.

Virtual Private Cloud (VPC)

A logically isolated section of a public cloud where an organization can launch and manage resources in a virtualized environment. VPCs provide the benefits of a public cloud, such as a scalability and flexibility, while maintaining the security and isolation typically associated with private clouds. VPC give network isolate by creating a private network within the public cloud through virtual network interfaces, subnets, and IP address ranges that are segregated from other users in the public cloud. Within a VPC, you can create subnets, which are smaller segments of the VPC’s IP address range, and these subnets can be designated as public or private, depending on whether they need internet access. They can have virtual firewalls that control inbound and outbound traffic to resources within the VPC, and network access control lists, which provide an additional layer of security at the subnet level by controlling traffic to and from the subnets. Route tables in VPCs determine how traffic is directed within the VPC and can be customized to control the flow of traffic, an internet gateway can be attached to a VPC to enable communication between resources within the VPC. Elastic IP addresses are static IP addresses for resources even if they are restarted or moved. VPCs can be connected to an organization’s on premises network via a VPN, providing secure communication between the cloud and on-premises resources. They provide enhanced security with robust controls that isolate and protect resources, ensuring sensitive data remains secure. They allow organizations to scale resources up or down based on demand, ensuring efficient utilization. VPCs reduce the costs associated with maintaining and managing physical hardware. The flexibility of VPCs allows organizations to design and manage their network environment to meet specific business requirements, including configuring IP address ranges, subnets, route tables, and security settings. In addition, VPCs integrate seamlessly with other cloud services, enabling organizations to build comprehensive and scalable cloud solutions.

Cloud security

Network Security Groups

vital components of network security in cloud environments, acting as virtual firewalls that control inbound and outbound traffic, network security groups provide a way to enforce and manage security policies at both the network and instance levels, ensuring that only authorized traffic is allowed to reach specific resources. Using rules to filter traffic, providing control over network traffic. Inbound rules control the incoming traffic to resources, while outbound rules control the outgoing traffic from resources. They can also track the state of network connections, and also provide logging and monitoring capabilities.

Network Security Lists

often referred to as Network Access Controls Lists are components in cloud environments for controlling network traffic to and from resources. Unlike network security groups that are typically used for instance-level security, network security lists are applied at the subnet level to provide an additional layer of security, used to define explicit rules that allow or deny traffic based on various criteria. Network security lists perform stateless traffic filtering, meaning each packet is evaluated independently, differs from the stateful inspection performed by network security groups, which track the state of network connections.