week 4_watermark.docx
Document Details
Uploaded by EthicalEnjambment
Full Transcript
Private Cloud Implementation using OpenStack ![](media/image3.jpeg) Overview -------- - *\ Meghamala \@IITKgp* - VM Creation - Accessing VM by User - VM Termination ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image9.png) !...
Private Cloud Implementation using OpenStack ![](media/image3.jpeg) Overview -------- - *\ Meghamala \@IITKgp* - VM Creation - Accessing VM by User - VM Termination ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image9.png) ![](media/image3.jpeg) ![](media/image11.png) ![](media/image12.png) ![](media/image13.png) ![](media/image14.png) ![](media/image15.jpeg) ![](media/image2.png) ![](media/image2.png) ![](media/image19.png) ![](media/image20.png) ![](media/image21.png) ![](media/image22.png) ![](media/image23.png) ![](media/image24.png) ![](media/image25.png) ![](media/image26.png) ![](media/image27.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png) ![](media/image2.png)Thank You! =============================== 38 CREATE A PYTHON WEB APP IN MICROSOFT AZURE: - ![](media/image2.png)Microsoft Azure is a growing collection of integrated cloud services which developers and IT professionals use to build, deploy and manage applications through a global network of datacenters. - With Azure, developers get the freedom to build and deploy wherever they ###### Deploy anywhere with your choice of tools - ![](media/image2.png)Connecting cloud and on-premises with consistent hybrid cloud capabilities ###### Protect your business with the most trusted cloud - ![](media/image2.png)Azure helps to protect assets through a rigorous methodology and focus on ###### Accelerate app innovation - ![](media/image37.jpeg)Build simple to complex projects within a consistent portal experience using deeply-integrated cloud services, so developers can rapidly develop, deploy and manage their apps. ###### ![](media/image3.jpeg)Power decisions and apps with insights - ![](media/image2.png)Uncover business insights with advanced analytics and data services for both traditional and new data sources. Detect anomalies, predict behaviors and recommend actions for your business. ###### ![](media/image2.png)In this demo, we are going to present the creation of a ###### Azure Web Apps - ![](media/image2.png)Highly scalable, Self-patching web hosting service. - Prerequisites - To complete this demo: ###### Go to https://portal.azure.com/and login with your username ###### ![](media/image3.jpeg)Login with your username and password ![](media/image41.jpeg)Launch Azure Cloud Shell : It is a free bash shell that we can directly use within the Azure portal #### ![](media/image3.jpeg)Download the sample #### ![](media/image3.jpeg)Change to the directory that contains the sample code #### ![](media/image44.jpeg)![](media/image2.png)Install flask #### ![](media/image2.png)Run the app locally #### ![](media/image3.jpeg)Configure a deployment user using the command - ##### A deployment user is required for FTP and local Git deployment to a web app. ##### password \ ![](media/image47.jpeg) #### Create an Azure App Service plan - ![](media/image2.png)An App Service plan specifies the location, size, and features of the web server farm that hosts your app. You can save money when hosting multiple apps by configuring the web apps to share a single App Service plan. - App Service plans define: - Region (for example: North Europe, East US, or Southeast Asia) - Instance size (small, medium, or large) - Scale count (1 to 20 instances) - SKU (Free, Shared, Basic, Standard, or Premium) #### ![](media/image3.jpeg)Create an Azure App Service plan #### ![](media/image3.jpeg)Create a web app - The web app provides a hosting space for your code and provides a URL to view the deployed app. #### ![](media/image49.jpeg)![](media/image2.png)Create a web app ![](media/image2.png)Browse to the site azappshu001.azurewebsites.net to see your newly created web app. ![](media/image3.jpeg)Configure to use Python: Setting the Python version this way uses a default container provided by the platform. #### ![](media/image3.jpeg)Configure local Git deployment - App Service supports several ways to deploy content to a web app, such as FTP, local Git, GitHub, Visual Studio Team Services, and Bitbucket. For this quickstart, you deploy by using local Git. That means you deploy by using a Git command to push from a local repository to a repository in Azure. #### ![](media/image52.jpeg)![](media/image2.png)Configure local Git deployment ![](media/image2.png)Push to Azure from Git: Add an Azure remote to your local Git repository. ![](media/image3.jpeg)Browse to the app at azappshu001.azurewebsites.net ![](media/image55.png) #### ![](media/image3.jpeg)Update and redeploy the code ![](media/image57.jpeg) #### ![](media/image3.jpeg)Commit your changes in Git #### ![](media/image59.png)![](media/image2.png)Push the code changes to Azure ![](media/image2.png)Once deployment has completed, refresh the page azappshu001.azurewebsites.net #### ![](media/image3.jpeg)References 1. https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-get-started- python ![](media/image3.jpeg) Thank You!! =========== ![](media/image1.jpeg) Google Cloud Platform (GCP) --------------------------- 1 - ![](media/image61.png)**Google Cloud Platform** is a set of services that enables developers to **build**, **test** and **deploy** applications on Google's reliable infrastructure. - **Google cloud platform** is a set of modular cloud-based services that allow you to create anything from simple websites to complex applications 2 ### ![](media/image63.png)![](media/image2.png)Google Cloud Platform Services! 3 ### Why Google Cloud Platform? ![](media/image2.png)Run on Google's Infrastructure - Global Network - Redundancy - Innovative Infrastructure 4 ### Why Google Cloud Platform? (contd..) ![](media/image2.png)Focus on your product - Managed services - Developer Tools and SDKs - Console and Administration 5 ### Why Google Cloud Platform? (contd..) ![](media/image2.png)Mix and Match Services - Compute - Storage - Services 6 ### Why Google Cloud Platform? (contd..) ![](media/image2.png)Scale to millions of users 7 ### Why Google Cloud Platform? (contd..) ![](media/image2.png)Performance you can count on - CPU, Memory and Disk - Global Network - Transparent maintenance 8 ### Why Google Cloud Platform? (contd..) 9 ### ![](media/image3.jpeg)Google Cloud Platform Services I. ![](media/image2.png)Cloud Platform offers both a fully managed platform and flexible virtual machines, allowing you to choose a system that meets your needs. II. Use App Engine, a Platform-as-a-Service, when you just want to focus on your code and not worry about patching or maintenance. III. Get access to raw virtual machines with Compute Engine and have the flexibility to build anything you need. 10 ### ![](media/image68.png)Google Cloud Platform Services 12 - ![](media/image2.png)Consider to migrate your web application to Google Cloud Platform for better performance using **GoogleAppEngine.** - Your application should go wherever your users go: Scale your application using **GoogleCloudEndpoints**. - Integrate Google's services into your Application using **GoogleAPIs**. 13 14 ![](media/image3.jpeg) 15 ![](media/image70.jpeg)16 ![](media/image72.jpeg)17 Check whether all are shared publicly! 18 19 20 ![](media/image3.jpeg) 21 ![](media/image80.png)22 23 24 iv. ![](media/image89.png)Activate your ***Google Cloud Shell***. 25 v. ![](media/image3.jpeg)![](media/image2.png)Clone the Hello World sample app repository and go to the directory that contains the sample code 26 27 ![](media/image2.png)28 ![](media/image2.png)29 ![](media/image2.png)30 ![](media/image2.png)31 ![](media/image118.png)Edit main.py 32 ![](media/image3.jpeg) Reload the web-page ![](media/image124.png) 33 34 35 36 37 38 - Google Cloud Platform Developers Portal: ***https://cloud.google.com/developers*** - Google Developers Global Portal: ***https://developers.google.com*** - Google Cloud Platform Products list: ***https://cloud.google.com/products/compute-engine/*** - Understanding Google APIs: ***https://fethidilmi.blogspot.com/2013/01/understanding-google- apis.html*** 39 ### ![](media/image3.jpeg)References - [***https://cloud.google.com/storage/docs/***](https://cloud.google.com/storage/docs/) - [***https://cloud.google.com/why-google/***](https://cloud.google.com/why-google/) - [***https://cloud.google.com/products/***](https://cloud.google.com/products/) - [***http://fethidilmi.blogspot.com***](http://fethidilmi.blogspot.com/) - [***https://www.slideshare.net/delphiexile/google-cloud-platform-overview-28927697***](https://www.slideshare.net/delphiexile/google-cloud-platform-overview-28927697) 40 ![](media/image3.jpeg) 41