How alexlondon07/multicloud-in-git-together-lab works
Main System Components
• GitHub Repository: Represent the repository as the central source, containing the codebase, configuration files, and GitHub Actions workflows.
• GitHub Actions Workflows: Highlight the workflows in the .github/workflows directory. There are several YAML files—each targeting CI/CD steps for Azure and AWS deployments.
• Azure Component:
– Azure Function App: Include both deployed functions (“helloGitTogether” and “byeGitTogether”) along with their configuration files (like host.json, functions.json, function.json, index.js). Also note that Node.js is being used.
• AWS Component:
– AWS Lambda: Include the Lambda function (HelloGitTogetherLambda) along with its Node.js based code and package.json.
• External Cloud Platforms: Represent Azure and AWS as external systems that receive the deployments.
Relationships and Interactions
• A directional flow from the GitHub Repository to the GitHub Actions Workflows. Indicate that, when code is pushed or PRs are created, the workflows trigger CI/CD pipelines.
• For the AWS part, indicate that another workflow deploys code present in the Lambda directory to AWS Lambda.
• Labels for “Deployment” or “CI/CD” flow, emphasizing that the same repository orchestrates deployments to different cloud environments using GitHub Actions.
Architectural Patterns and Design Principles
• GitOps/CI-CD: The system relies on Git as the source of truth with automated deployment pipelines.
• Separation of Cloud-Specific Code: The file structure keeps Azure Functions and AWS Lambda code in separate directories, which suggests a modular, organized approach to handling multi-cloud deployments.
• Use of Serverless Paradigm: The services (functions) are stateless and event-driven, a key cloud-native pattern.
Relevant Technologies, Frameworks, and Libraries
• Node.js is the runtime for both Azure Functions and AWS Lambda code.
• GitHub Actions is the orchestrator for CI/CD pipelines.
• Azure Functions configuration files (host.json, functions.json) and AWS Lambda deployment files.