Initial test to join Cloud Engineer team.
Create a web application hosted on Google Cloud Platform using Cloud Storage for static content and Compute Engine for administration. The application should demonstrate understanding of cloud infrastructure, security, and DevOps practices.
- Access public website through CDN/Load Balancer
- View static content (HTML/CSS/JavaScript) – (index.html - It doesn't really matter what's there)
- Experience fast loading times globally
- Subject to geographical access restrictions
- Login to admin VM through secure VPC
- Access web-based admin panel
- Modify website content (HTML/CSS/JS files) by the special scripts v1 nad v2
- Changes automatically published to Cloud Storage
- Admin no direct bucket access
U[Users] --> LB[Load Balancer]
LB --> CA[Cloud Armor]
CA --> CS[Cloud Storage]
A[Admin] --> AVM[Admin VM]
AVM --> BVM[Backend VM]
BVM --> CS
Cloud Storage (static website hosting) Cloud Armor (security layer) Load Balancer (traffic distribution) Compute Engine (admin infrastructure) VPC Networks (network isolation) IAM & Service Accounts (access control)
Windows 10/11 workstation Visual Studio Code Google Cloud SDK Terraform v1.5+ Python 3.9+ Git GitHub account VSCode Extensions HashiCorp Terraform Google Cloud Tools Python GitHub Copilot for help ;-)
Deliverables:
Environment configuration screenshots
GCP project initialization
Git repository setup
Deliverables:
PowerShell deployment script
Architecture diagram
README documentation
Connectivity test results
Deliverables:
Terraform configuration files
State management setup
Variables documentation
Infrastructure tests
Deliverables:
Python application code
Deployment documentation
Testing report
Deliverables:
Test scenarios
Security assessment
Final architecture documentation
Cost analysis
Budget: $50 Time: 4 days Region: europe-central2 (Warsaw) Must use specified GCP services Security best practices required Evaluation Criteria Working solution Infrastructure security Code quality Documentation quality Cost optimization
VCS - Workspace Structure.
project/ ├── terraform/ │ ├── main.tf │ ├── variables.tf │ ├── networking.tf │ ├── storage.tf │ ├── compute.tf │ └── iam.tf ├── app/ │ ├── static/ │ └── admin/ └── scripts/ └── deploy.ps1
Use service accounts for all service interactions Implement proper network isolation for public and admin conection Document all security measures Provide cost estimates Include monitoring considerations