Top Banner
Cloud & PHP DEPLOYING PHP APPLICATIONS ON CLOUD PRAFFUL GARG
29

Cloud & PHP

Mar 21, 2017

Download

Technology

Prafful Garg
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cloud & PHP

Cloud & PHPDEPLOYING PHP APPLICATIONS ON CLOUD PRAFFUL GARG

Page 2: Cloud & PHP

05/02/2023 2

Agenda1. Introduction to cloud computing

2. Cloud computing stack

3. Introduction to Google App Engine

4. Introduction to Amazon Web Services

5. Introduction to GAE & AWS

6. Deployment on GAE and AWS

7. Demo App deployment on GAE and AWS

PRAFFUL GARG

Page 3: Cloud & PHP

05/02/2023 3

Cloud Computing The practice of using a network of remote servers hosted on the Internet to store, manage, and process data, rather than a local server or a personal computer.

Different services — such as servers, storage and applications —are delivered to an organization's computers and devices through the Internet.

Organizations can choose where, when, and how they use Cloud Computing

PRAFFUL GARG

Page 4: Cloud & PHP

05/02/2023 4

Characteristics of cloud computingOn-demand self-service

Broad network access

Resource pooling

Rapid elasticity

Measured Service

PRAFFUL GARG

Page 5: Cloud & PHP

05/02/2023 5

Cloud computing service modelsSoftware as a Service (SaaS): is a software distribution model in which applications are hosted by a vendor or service provider and made available to customers over a network, typically the Internet.

Platform as a service (PaaS): can be defined as a computing platform that allows the creation of web applications quickly and easily and without the complexity of buying and maintaining the software and infrastructure underneath it.

Infrastructure as a Service(Iaas): is a provision model in which an organization outsources the equipment used to support operations, including storage, hardware, servers and networking components. The service provider owns the equipment and is responsible for housing, running and maintaining it

PRAFFUL GARG

Page 6: Cloud & PHP

05/02/2023 6

Platform as a service (PaaS)

PRAFFUL GARG

Page 7: Cloud & PHP

05/02/2023 7

PaaS (Contd.)Cloud computing has dramatically changed how business applications are built and run. Delivering a new application is now as fast as opening your internet browser.

Paas is a proven model for running applications without the hassle of maintaining the hardware and software infrastructure at your company.

The consumer also controls software deployment and configuration settings. The provider provides the networks, servers, storage, and other services that are required to host the consumer's application.

PRAFFUL GARG

Page 8: Cloud & PHP

05/02/2023 8

Characteristics of PaaSMulti-tenant architecture

Customizable /Programmable User Interface

Unlimited Database Customizations

Robust Workflow engine/capabilities

Granular control over security/sharing (permissions model)

Flexible “services-enabled” integration model

PRAFFUL GARG

Page 9: Cloud & PHP

05/02/2023 9

Google App Engine (GAE)

Google App Engine is a Platform as a Service (PaaS) offering that lets you build and run applications on Google’s infrastructure.

App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs change. With App Engine, there are no servers for you to maintain. You simply upload your application and it’s ready to go.

PRAFFUL GARG

Page 10: Cloud & PHP

05/02/2023 10

GAE (Contd.)Persistent storage with queries, sorting, and transactions.

Automatic scaling and load balancing.

Asynchronous task queues for performing work outside the scope of a request.

Scheduled tasks for triggering events at specified times or regular intervals.

Integration with other Google cloud services and APIs.

PRAFFUL GARG

Page 11: Cloud & PHP

05/02/2023 11

Amazon Web Services (AWS)

Amazon Web Services (AWS) is a bundled remote computing service that provides cloud computing infrastructure over the Internet with storage, bandwidth and customized support for application programming interfaces (API).

AWS is geographically diversified into regions. These regions have central hubs in the Eastern USA, Western USA (two locations), Brazil, Ireland, Singapore, Japan, and Australia. Each region comprises multiple smaller geographic areas called availability zones.

PRAFFUL GARG

Page 12: Cloud & PHP

05/02/2023 12

AWS (Contd.)AWS offers a variety of services, all designed to deliver one set of functionality.

The AWS infrastructure is failure-prone, and Amazon achieves service robustness through redundancy. For those services that Amazon offers service level agreements (SLAs), it commonly maintains three copies of the computing and data associated with a service.

AWS is offered on an on-demand, pay for what you use model.

Services are offered on a region- and availability zone-based partitioning.

Easy to build and deploy an application that runs reliably even under heavy load and with large amounts of data

PRAFFUL GARG

Page 13: Cloud & PHP

05/02/2023 13

Deploying app via GAE 1: Create new project

PRAFFUL GARG

Page 14: Cloud & PHP

05/02/2023 14

Deploying app via GAE 2: Specify project name and unique ID

PRAFFUL GARG

Page 15: Cloud & PHP

05/02/2023 15

Deploying app via GAE 3: Setting up Cloud SQL instance

PRAFFUL GARG

Page 16: Cloud & PHP

05/02/2023 16

Deploying app via GAE 4: Select region and tier

PRAFFUL GARG

Page 17: Cloud & PHP

05/02/2023 17

Deploying app via GAE5: Authorize the app to access cloud sql instance

PRAFFUL GARG

Page 18: Cloud & PHP

05/02/2023 18

Deploying app via GAE5: Deploying using GAE launcher

PRAFFUL GARG

Page 19: Cloud & PHP

05/02/2023 19

Deploying app via GAE5: Deploying using GAE launcher

PRAFFUL GARG

Page 20: Cloud & PHP

05/02/2023 20

Deploying app via GAE5: Your application is up and running

PRAFFUL GARG

Page 21: Cloud & PHP

05/02/2023 21

Deploying app via AWS1: Create new application environment

PRAFFUL GARG

Page 22: Cloud & PHP

05/02/2023 22

Deploying app via AWS2: Configure the environment

PRAFFUL GARG

Page 23: Cloud & PHP

05/02/2023 23

Deploying app via AWS3: Upload the application (in zip format)

PRAFFUL GARG

Page 24: Cloud & PHP

05/02/2023 24

Deploying app via AWS4: Provide URL and Environment name

PRAFFUL GARG

Page 25: Cloud & PHP

05/02/2023 25

Deploying app via AWS5: Configure ARDS (Amazon Relational Database Service)

PRAFFUL GARG

Page 26: Cloud & PHP

05/02/2023 26

Deploying app via AWS6: Edit access rules for Application and database

PRAFFUL GARG

Page 27: Cloud & PHP

05/02/2023 27

Deploying app via AWS7: Edit software configuration for application

PRAFFUL GARG

Page 28: Cloud & PHP

05/02/2023 28

Deploying app via AWS8: Your app is up and running.

You can create security access key and secret key by visiting https://console.aws.amazon.com/iam/home?#security_credential

PRAFFUL GARG

Page 29: Cloud & PHP

Q&AThanks.