CloudComputing_Chapter1_Lecture2
CloudComputing_Chapter1_Lecture2
The IBM Cloud platform combines platform as a service (PaaS) with infrastructure as a service (IaaS) to provide an
integrated experience. The platform scales and supports both small development teams and organizations, and large
enterprise businesses. Globally deployed across data centers around the world, the solution you build on IBM Cloud spins up
fast and performs reliably in a tested and supported environment that you can trust.
It is an open cloud computing platform that combines PaaS with IaaS, and includes a catalog of diverse cloud services,
which can be used to build and deploy rapidly business applications orinfrastructure.
•PaaS provides developers access to IBM software for integration, security, transaction, and other key functions, and
software from IBM Business Partners. The application types can range from web, mobile, big data, and smart devices to the
Internet of Things (IoT).
•IaaS gives developers fine-grained control over the infrastructure on which their apps are deployed. Developers can deploy
high-performance, bare metal servers, virtual servers, containers, and cloud storage in IBM Cloud data center locations
around the world.
The IBM Cloud platform is composed of multiple components that work together to provide a consistent and
dependable cloud experience:
• A catalog that consists of hundredsof IBM Cloud offerings
• A robust console that serves as the front-end for creating, viewing, and managing your cloud resources.
•An IAM component that securely authenticates users for both platform services and controls access to resources
consistently across IBM Cloud.
• Asearch and tagging mechanism for filtering and identifying your resources.
•An account and billing management system that provides exact usage for pricing plans and secure credit card fraud
protection.
IBM Cloud allows developers and enterprises to deploy workloads in over 60 data centers, and now into six
regions and 18 availability zones globally with local access, low latency, and certified security:
•Regions are geographically separated from one another, and have a physically distinct infrastructure from all otherregions
and unrelated zones.
•Zones are logically isolated data centers within a single campus, each having isolated electrical, mechanical, and network
infrastructures. Zones are separated physically from one another. Within a zone, resources are connected by ultra-low
latency, high-bandwidth networks.
IBM Cloud offers many choices for you to decide where and how your data and workloads should run. IBM availabilityzone
design provides an easier and more effective way to design and operate applications and databases, making them highly
available, fault-tolerant, and scalable.
Services:
▪A service is a cloud extension that is hosted by IBM Cloud. The service provides functions that are ready-for-use by the
running the code of the application.
▪The predefined services that are provided by IBM Cloud include database, AI, messaging, push notifications for mobile
apps, and elastic caching for web applications.
▪ You can create your own services in IBM Cloud. The services can be simple utilities, such as the functions that youmight
see in a runtime library, or complex business logic that you might see in a business process modeling service or a database.
IBM Cloud Service Models:
IaaS is a cloud computing model in which a vendor provides users access to computing resources, such as servers,storage,
and networking. Organizations use their own platforms and applications within a service provider’s infrastructure.
PaaS is a cloud computing model that provides users with a cloud environment in which they can develop, manage,and
deliver applications. In addition to storage and other computing resources, users can use a suite of prebuilt tools to develop,
customize, and test their own applications.
Infrastructure as a service from IBM Cloud:
IAAS from IBM Cloud
•IBM Cloud enables you to deploy a high-performance compute and storage infrastructure in over 60 IBM Cloud data
centers around the world that are automated and standardized to provide a seamless global platform for cloud resources.
•In addition to virtual servers, IBM Cloud offers bare metal servers, which provide the raw horsepower that many
organizations require for processor-intensive and disk I/O-intensive workloads. Many organizations favor IBM Cloud because
of the easy access it provides to bare metal servers.
• IBM Cloud also allows you to deploy containers, storage, and networking resources across the worldwide datacenters.
• A catalog of services enables you to deploy, access, and manage the deployedinfrastructure.
Platform as a service from IBM Cloud:
As a PaaS provider, IBM Cloud allows you to build, manage, and run applications, such as web, mobile, big data, smart
devices, and IoT. IBM Cloud PaaS uses Cloud Foundry, which is an open PaaS offering that provides a choice of clouds,
frameworks, and application services.
Cloud Foundry provides the monitoring, deployment, and logging tools for hosting apps. IBM Cloud also adds the
following enhancements to Cloud Foundry:
• Extends Cloud Foundry with services from IBM and IBM Business Partners.
• Provides a scriptable command-line interface (CLI).
•Provides integration with development tools to ease the deployment process. DevOps services provide an online code
editor, a build pipeline, and a version control system.
IBM Cloud runs on IBM Cloud data centers locations around the world.
IBM Cloud enables application developers to focus on application capabilities by providing the following resources
on the cloud:
• Runtimes on which to run applications.
•A catalog of selectable services, such as databases, mobile support, analytics, AI, and security, which are used to build
applications.
• Ability to integrate with data from the organization and traditional workloads that are running in on-premises systems.
•DevOps capabilities and tools, including code editors, version control, deployment pipelines, and hosting, monitoring, and
scaling apps.
Integration services allow applications to access traditional workloads that are running in the organization’s on-premises
environment.
IBM Cloud: Choices
With IBM Cloud, developers are given a choice of runtimes on which to run their applications. A runtime is a set of computing
resources that are used to run an application. IBM provides five main ways to deploy, run, and scaleworkloads:
1. Bare metal servers: High-performance cloud servers that can be configured as hourly and monthly options.
2. Virtual servers.
3. Containers.
4. Platforms (Cloud Foundry).
5. Serverless.
•Bare metal servers: bare metal servers provide users with sole access to the entire server. Unlike a virtual server with
multiple tenants, the bare metal server is single tenant and offered without a hypervisor, which eliminates the “noisy neighbor”
effect and any performance “tax” from the hypervisor. Bare metal servers can be acquired in a preconfigured form or custom-
configured to exact specifications.
•Virtual servers: Virtual servers are scalable and come with dedicated core and memory allocations that can be added in
minutes, with access to features like image templates. The hypervisor is fully managed by IBM Cloud, and developers can
perform configuration and management tasks by using both the IBM Cloud customer portal and the API. Virtual servers are
deployed to the same VLANs as physical servers, allowing developers to spread workloads across virtual servers and bare
metal servers while maintaining interoperability. Virtual servers are fully customizable with options to scale up as your
compute needs grow.
•Containers: IBM Cloud Kubernetes Service is a managed container service for the rapid delivery of applications that
can bind to advanced services such as IBM Watson and blockchain. As a certified Kubernetes provider, IBM Cloud
Kubernetes Service provides intelligent scheduling, self-healing, horizontal scaling, service discovery and load balancing,
automated rollouts and rollbacks, and secret and configuration management. Kubernetes Service also has advanced
capabilities around simplified cluster management, container security and isolation policies, the ability to design your own
cluster, and integrated operational tools for consistency in deployment.
Compute (bare metal, virtual servers, and containers) allow the developers to have total control of the
compute and platform that deploys and runs the workloads with granular control over the scalability,
customization, and management.
•Platforms (Cloud Foundry): Cloud Foundry is the premier industry standard PaaS that ensures the fastest, easiest,
and most reliable deployment of cloud-native applications. Cloud Foundry ensures that the build and deploy aspects of
coding remain carefully coordinated with any attached services, which result in quick, consistent, and reliable iterating of
applications. The IBM runtimes include Liberty for Java, SDK for Node.js, and Runtime for Swift. IBM Cloud and Cloud
Foundry support more runtimes through the Community Buildpacks. This open source community featureswritten buildpacks
for other runtimes, such as Go, PHP, Python, Ruby, and Tomcat.
•Serverless: Based on Apache OpenWhisk, IBM Cloud Functions is a polyglot function as a service (FaaS) programming
platform for developing lightweight code that scales and runs on demand. IBM Cloud Functions provides access to the
Apache OpenWhisk infrastructure in which anyone can contribute their action code as building blocks to the expanding
repository.
Run times (Cloud Foundry and Cloud Functions) allow the developers to focus on development and delegate management
to the cloud provider.
IBM Cloud: Services:
IBM Cloud provides a broad range of pre-built services (from IBM and third-party providers) that can be usedwhen
assembling your application:
• Watson services enable you to add the power of AI to your application with speech, vision, and natural language
processing (NLP) APIs.
• Data & Analytics services help you to get data from integrated cloud databases, build data-driven applications, and
analyze your data.
In addition, services in the following categories help you to develop key features within yourapplication:
Integration services:
• APIs: Create, manage, enforce, and runAPIs.
• Integrate: Access traditional workloads running in the organization’s on-premisesenvironment.
• Mobile: Use a mobile back-end infrastructure to build, monitor, and test mobile apps.
• IoT: Communicate with connected devices, sensors, and gateways.
• Functions: Run in response to incoming events (based on Apache OpenWhisk).
• Application services: Many application services, such as IBM Blockchain, Message Hub, WebSphereApplication
Server, Business Rules, and other application services on the cloud.
• DevOps: Tools to help innovate new applications faster and cheaper.
• Security: Build security into your application design.
Infrastructure services help you to manage the underlying infrastructure on which your applicationruns.
IBM Cloud Console: Sign Up
IBM Cloud Console: Sign Up
IBM Cloud Console: Login
IBM Cloud Console: Dashboard
IBM Cloud Console: Dashboard
IBM Cloud Console: Dashboard
IBM Cloud Console: Catalog
Creating and Managing a Cloud Foundry Application On IBM Cloud:
What is Cloud Foundry:
Cloud Foundry is the premier industry standard Platform-as-a-Service (PaaS) that ensures the fastest, easiest, and most
reliable deployment of cloud-native applications. Cloud Foundry ensures that the build and deployment aspects ofcoding
remain carefully coordinated with any attached services, which result in quick, consistent, and reliable iteration of
applications.
Key benefits of Cloud Foundry:
•Choose your own language: IBM Cloud Foundry includes run times for Java, Node.js, PHP, Python, Ruby, Swift, and Go.
Cloud Foundry community build packs are also available. Combined with DevOps services, the application runtimes enable a
delivery pipeline that automates much of the iterative development process.
• Fault tolerant: Runtimes facilitate developing applications as stateless processes that quickly start and stop, replicate if an
instance fails, and duplicate if sustained or increased performance requires.
•Extend apps with services: Run times link IBM Cloud services to applications as endpoints, giving any instance of an
application embedded knowledge of how to manage relevant calls and data. In fact, runtimes manage all linked resources
this way: SDKs, APIs (whether made available as cloud services or exposed from within a traditional enterprise as custom
services), and also applications themselves when used as resources by otherapplications.
• High availability: Supports full high availability for high application availability.
• Automatic placement: Applications are automatically placed across multiple data center Pods for maximum reliability.
• Automatic Health Management: Crashing applications restartautomatically.
• Automatic routing: Internet reachable routes are automatically created for yourapplications.
Creating an IBM Cloud Foundry application (1 of 4)
Creating an IBM Cloud Foundry application (2 of 4)
Creating an IBM Cloud Foundry application (3 of 4)
Creating an IBM Cloud Foundry application (4 of 4)
IBM Cloud: Application Details page:
Testing applications through the application route: