Cloud Computing
arturmarques.com | entrada ; home| contacto ; contact
scroll down for the Basics of Cloud Computing, Erasmus course

Atenção: teste escrito 2024-05-17, na sala e hora da aula.

Sessões seguintes (2 semanas finais) reservadas para apresentação de trabalhos, ordem a sortear.


Semana (#09/15) de 2024-04-14

2024-04-17

Continuação.

Python library: mysql-connector-python

Cloud Web Apps com AWS RDS.

Ficou disponível: cn_20240417.zip

Semana (#08/15) de 2024-04-07

2024-04-12

Desenvolvimento realtime de uma solução "searcher" em Python Flask, com memória TSV no sistema de ficheiros do contentor deployed.

Deployment da aplicação em ambiente AWS Elastic Beanstalk.

Ficou disponível: cn_240412.zip ; start_240412.zip

2024-04-10

Containerização em ambientes AWS Elastic Beanstalk: conceito de contentor.

Criação de roles customizados em AWS, com policies à medida das necessidades do software desenvolvido.

Exercício de deployment de uma solução de IA para etiquetagem de imagens, em ambiente AWS Elastic Beanstalk, depois de se ter criado o role EC2 necessário.

Semana (#07/15) de 2024-03-31

2024-04-05

AWS IAM. AWS roles. AWS Beanstalk. AWS S3. AWS Rekognition.

Deployment de uma web app e serviço de reconhecimento de imagens em AWS Beanstalk com Rekognition, para reconhecimento de imagens uploaded para buckets S3.

Conceitos e exercícios relacionados.

Ficou disponível: v05_aws_rekognition.zip ; aws_boto3_tests.zip

2024-04-03

Autenticação de apps locais com cloud APIs, via private keys.

Python Flask enquanto framework para micro-services.

Exemplos na Google Cloud, via Google Cloud SDK, com gcloud.

Exercícios.

Ficou disponível: microservices_v02.pdf ; v05_gae_vision_better.zip ; v06_strictly_local_calling_vision.zip

Semana (#06/15) de 2024-03-17

2024-03-22

A aula regular de sexta-feira foi, excecionalmente, cedida ao Professor Marcin Iwanowski.

Na sala SI4, das 0900 às 1300, os tópicos serão (sessão #2/2):

Creating Azure App Service Web Apps:
- Microsoft Azure Fundamentals
- Azure App Service core concepts
- Creating an Azure App Service Web App
- Configuring and Monitoring App Service apps
- Scaling App Service apps
- Azure App Service staging environments

2024-03-20 2024-03-21 (quinta-feira)

A aula regular de quarta-feira foi, excecionalmente, alterada para quinta-feira e cedida ao Professor Marcin Iwanowski.

Na sala SI4, das 0900 às 1300, os tópicos serão (sessão #1/2):

Creating Azure App Service Web Apps:
- Microsoft Azure Fundamentals
- Azure App Service core concepts
- Creating an Azure App Service Web App
- Configuring and Monitoring App Service apps
- Scaling App Service apps
- Azure App Service staging environments

Semana (#05/15) de 2024-03-10

2024-03-15

Continuação e conclusão da app deployed em GAE/PaaS, agora com "visão", integrada com um serviço de ML para categorização de imagens.
Exercício.

Ficheiros relacionados: v04_gae_vision.zip ; gcloud_commands_v04.txt - comandos gcloud úteis ; requirements.txt - não esquecer que há um novo requisito.

2024-03-13

Deployment em PaaS, sem private keys, com autorização por IAM roles atribuídos à entidade da plataforma.

Deployment em Google App Engine. Comandos gcloud diversos.
Exercício.

Ficheiros relacionados: 20240313_gcp_app_engine_version_v3.pdf [nova versão] ; 20240313_v03_gcp_no_pk_via_prj_sa_roles.zip

Semana (#04/15) de 2024-03-03

2024-03-08

Web apps Python Flask na Cloud.

Service Accounts como forma de IAM na GCP.
Obtenção de private key para autenticação de código.
Comandos gcloud diversos para criação e associação de cloud objects.

Projecto: "upload to cloud bucket".
Variantes de desenvolvimento: 1) versão apenas local; 2) versão que faz upload de local para GCP bucket; 3) versão que computa na cloud.

Deployment para GAE (Google App Engine) - considerações diversas.

Ficheiros relacionados: cloud_file_upload_gcp_v1.zip

2024-03-06

Desenvolvimento em PaaS, na cloud, utilizando AWS.

Boas práticas de Identity and Access Management: serviço IAM.

AWS Cloud Shell.

Cloud functions com AWS Lambda.

Storage com S3 buckets.

HTTP APIs com API Gateway service.

Exercícios diversos.

Ficheiros relacionados: lambda_function.py.txt ; 240305_aws_iam_cloudshell_lambda_s3_api_pub.pdf

Semana (#03/15) de 2024-02-25

2024-03-01

Continuação de desenvolvimento PaaS assistido por Git.

2024-02-28

Desenvolvimento em PaaS, assistido por Git.
Exercícios com Google Cloud Functions.

Intro ao controlo de versões com Git.

Ficou disponível:
cn_02_git_with_branching_2024_v1.pdf
20240228_cloud_functions_fun.pdf

Semana (#02/15) de 2024-02-18

2024-02-23

Continuação e conclusão da introdução formal a "Computação na Nuvem".

2024-02-21

Introdução formal a "Computação na Nuvem".

Definição. História. Contexto. Models de serviço. Modelos de deployment. Providers. Considerações diversas.

Ficou disponível: cn_01_intro_to_cloud_computing_1_2324_v1.pdf

Semana (#01/15) de 2024-02-11

2024-02-16

Casos de estudo de soluções Cloud-based.

Ficou disponível: cc_00_cloud_computing_case_studies_2024_v2.pdf

2024-02-14

Apresentação.

Está disponível a ficha da disciplina.

Alguns dos recursos sugeridos:

Google Cloud: https://cloud.google.com/free/

AWS: https://aws.amazon.com/free/

Azure: https://azure.microsoft.com/free/

Firefox: https://www.mozilla.com/en-US/firefox

Firefox Developer Tools (F12): https://developer.mozilla.org/en-US/docs/Tools

PyCharm: https://www.jetbrains.com/pycharm/


Attention: written test2024-05-17, at the usual classroom and time.

The remaining sessions (final 2 weeks) are reserved for students' presentations.


Week (#09/15) of 2024-04-14

2024-04-17

Continuation.

Python library: mysql-connector-python

Cloud Web Apps with AWS RDS.

Files made available: cn_20240417.zip

Week (#08/15) of 2024-04-07

2024-04-12

Creating a "WWW searcher" app, in realtime, using Python Flask, with a TSV DB that will be read/written to the file system of a container.

"WWW searcher" app deployment on an AWS Elastic Beanstalk environment.

Files made available: cn_240412.zip

2024-04-10

Containerization in AWS Elastic Beanstalk environments. The "container" concept.

Creating custom IAM roles, with policies adequate to the software being created.

Deploying an AI image labelling app to an AWS Elastic Beanstalk environment, after having created the necessary EC2 role.

Week (#07/15) of 2024-03-31

2024-04-05

AWS IAM. AWS roles. AWS Beanstalk. AWS S3. AWS Rekognition.

Deployment of a web app and image recognition service using AWS Beanstalk + Rekognition, via uploading to S3 buckets.

Related concepts and exercises.

Files made available: v05_aws_rekognition.zip ; aws_boto3_tests.zip

2024-04-03

Authenticating local apps with Cloud APIs, via private keys.

Python Flask as a micro-services framework.

Examples on the Google Cloud, via Google Cloud SDK, using gcloud.

Exercises.

Files made available: microservices_v02.pdf ; v05_gae_vision_better.zip ; v06_strictly_local_calling_vision.zip

Week (#06/15) of 2024-03-17

2024-03-22

Friday's session will (exceptionally) be with Professor Marcin Iwanowski.

At classroom SI4, from 0900 to 1300, his session (#2/2) will be about:

Creating Azure App Service Web Apps:
- Microsoft Azure Fundamentals
- Azure App Service core concepts
- Creating an Azure App Service Web App
- Configuring and Monitoring App Service apps
- Scaling App Service apps
- Azure App Service staging environments

2024-03-20 2024-03-21 (Thursday)

Wednesday's session will (exceptionally) be on Thursday, with Professor Marcin Iwanowski.

At classroom SI4, from 0900 to 1300, his session (#1/2) will be about:

Creating Azure App Service Web Apps:
- Microsoft Azure Fundamentals
- Azure App Service core concepts
- Creating an Azure App Service Web App
- Configuring and Monitoring App Service apps
- Scaling App Service apps
- Azure App Service staging environments

Week (#05/15) of 2024-03-10

2024-03-15

Continuation and conclusion of the app deployed on GAE/PaaS, now with "vision", integrated with a ML service for image labelling.
Exercise.

Related files: v04_gae_vision.zip ; gcloud_commands_v04.txt - some useful gcloud commands ; requirements.txt - don't forget there is a new requisite.

2024-03-13

PaaS deployment, without using private keys, authorizing via IAM roles bound to the platform's entity.

Deployment on the Google App Engine (GAE). Misc. gcloud commands.
Exercise.

Related files: 20240313_gcp_app_engine_version.pdf ; 20240313_v03_gcp_no_pk_via_prj_sa_roles.zip

Week (#04/15) of 2024-03-03

2024-03-08

Running Python Flask Web apps on the cloud.

Service Accounts for IAM on the GCP.
Getting a service account private key for code authentication.
Misc. gcloud commands for creating and binding cloud objects.

Project: "upload to cloud bucket".
Dev variants: 1) local upload only; 2) from local to GCP bucket; 3) cloud version.

Deployment to GAE (Google App Engine) - considerations.

Related files: cloud_file_upload_gcp_v1.zip

2024-03-06

Cloud-based software development on AWS PaaS.

Identity and Access Management on AWS: the IAM service.

AWS Cloud Shell.

Cloud functions with AWS Lambda.

Storage with S3 buckets.

HTTP APIs with the API Gateway service.

Exercises.

Related files: lambda_function.py.txt ; 240305_aws_iam_cloudshell_lambda_s3_api_pub.pdf

Week (#03/15) of 2024-02-25

2024-03-01

Git assisted software development on PaaS, continuation.

2024-02-28

Git assisted software development on PaaS.
Playing with Google Cloud Functions.

Intro to version control with Git.

Support files:
cn_02_git_with_branching_2024_v1.pdf
20240228_cloud_functions_fun.pdf

Week (#02/15) of 2024-02-18

2024-02-23

Continuation and conclusion of the formal introduction to "Cloud Computing".

2024-02-21

Formal introduction to "Cloud Computing".

Definition. History. Context. Service models. Deployment models. Providers. Misc. considerations.

Files made available: cn_01_intro_to_cloud_computing_1_2324_v1.pdf

Week (#01/15) of 2024-02-11

2024-02-16

Case-studies of Cloud-based solutions.

Related file(s): cc_00_cloud_computing_case_studies_2024_v2.pdf

2024-02-14

Presentation.

The course's syllabus is available.

Some of the suggested resources:

Google Cloud: https://cloud.google.com/free/

AWS: https://aws.amazon.com/free/

Azure: https://azure.microsoft.com/free/

Firefox: https://www.mozilla.com/en-US/firefox

Firefox Developer Tools (F12): https://developer.mozilla.org/en-US/docs/Tools

PyCharm: https://www.jetbrains.com/pycharm/


Cloud Computing
arturmarques.com | entrada ; home| contacto; contact