Exp 5 CCL
Exp 5 CCL
Title: To study and Implement Platform as a Service using AWS Elastic Beanstalk/ Microsoft Azure
App Service. (AWS Academy)
Objective
● To understand the concept of Platform as a Service (PaaS), its benefits, and how it
simplifies application deployment.
● To deploy web applications or web services in different programming languages such as
Node.js, Python, Java, and .NET on AWS Elastic Beanstalk and Microsoft Azure App
Service.
● To compare the two platforms in terms of ease of use, supported technologies, and
deployment processes.
Steps to Perform
1. Deployment on AWS Elastic Beanstalk
Prerequisites:
● An AWS account.
● AWS Elastic Beanstalk CLI (EB CLI) installed on your machine.
● A simple web application written in one of the supported languages (e.g., Node.js, Python,
Java).
Steps:
1. Create an AWS Elastic Beanstalk Application:
○ Log in to your AWS Management Console.
○ Navigate to the Elastic Beanstalk service.
○ Select Create Application, provide a name for your application, and select the
platform (e.g., Node.js, Python).
2. Configure Environment:
○ Choose Web Server Environment (if deploying a web application).
○ Select the environment tier and platform, e.g., Node.js or Python.
3. Upload Application Code:
○ Prepare your application code (zip the source code and dependencies).
○ In the Elastic Beanstalk console, upload your zip file.
4. Deploy Application:
○ After uploading the application, click Create Environment to start the deployment.
○ AWS Elastic Beanstalk automatically handles the provisioning of the infrastructure,
deployment, and scaling.
5. Monitor Deployment:
○ Once the application is deployed, you can monitor and manage it from the Elastic
Beanstalk dashboard.
○ Logs and health status can be reviewed directly through the console or via the EB
CLI.
6. Access the Application:
○ AWS provides a URL for your application, which can be accessed publicly once the
deployment process is complete.
2. Deployment on Microsoft Azure App Service
Prerequisites:
● An Azure account.
● Visual Studio Code or Azure CLI installed on your machine.
● A simple web application written in one of the supported languages (e.g., Node.js, Python,
.NET).
Steps:
1. Create an Azure App Service Plan:
○ Log in to your Azure Portal.
○ Navigate to App Services and click on Create.
○ Choose a subscription, resource group, and select a region for the app service.
2. Select the Stack:
○ Choose the technology stack (e.g., Node.js, Python, .NET) based on your application
code.
○ Configure your app settings (optional, e.g., environment variables, scaling options).
3. Deploy the Application:
○ In Visual Studio Code (or any IDE), connect your app to Azure.
○ Use the Azure CLI or GitHub Actions to deploy your web application directly to
Azure.
○ Alternatively, upload the application through the Azure Portal using a ZIP file or
continuous deployment options (from GitHub or Azure DevOps).
4. Monitor Deployment:
○ Monitor the application via the Azure portal, checking the health, performance, and
logs of your deployed application.
5. Access the Application:
○ Once deployment is successful, Azure provides a public URL to access your web
application.
Screenshots:
● AWS Elastic Beanstalk provides a highly customizable environment with automatic scaling,
load balancing, and health monitoring. It supports a variety of languages and platforms, and
integrates seamlessly with other AWS services.
● Microsoft Azure App Service, on the other hand, offers robust support for both Windows and
Linux environments, with continuous deployment options from GitHub, Azure DevOps, and
more. It provides built-in monitoring, scaling, and easy integration with other Azure services.
Both platforms abstract away much of the underlying infrastructure complexity, allowing developers
to focus on building and deploying their applications. However, the choice between AWS and Azure
will largely depend on specific requirements, familiarity with the ecosystem, and integration with
other services within the respective cloud platforms.
In conclusion, the implementation of PaaS using AWS Elastic Beanstalk and Microsoft Azure App
Service provides a streamlined, efficient way to deploy and manage web applications without dealing
with the complexity of server management.