The Cloud Resume Challenge - GCP
Your resume needs to have the Google Cloud Digital Leader certification on it. This is an introductory certification that orients you on Google Cloud – if you have a more advanced Google Cloud cert, that’s fine but not expected. You can sit this exam online for $100 USD. Google offers exam prep resources.
Your resume needs to be styled with CSS. No worries if you’re not a designer – neither am I. It doesn’t have to be fancy. But we need to see something other than raw HTML when we open the webpage.
4. Static Website
Your HTML resume should be deployed online as a static website using Google Cloud Storage. Services like Netlify and GitHub Pages are great and I would normally recommend them for personal static site deployments, but they make things a little too abstract for our purposes here. Use GCS.
The GCS website URL should use HTTPS for security. You will need to use a Cloud Load Balancer to help with this. Be aware - this will have a small cost to provision. You will also want to use Cloud CDN to cache your site - just check the box when configuring your load balancer backend.
Point a custom DNS domain name to the load balancer endpoint, so your resume can be accessed at something like
my-c00l-resume-website.com. You can use Cloud Domains or any other DNS provider for this. A domain name usually costs about ten bucks to register.
The visitor counter will need to retrieve and update its count in a database somewhere. I suggest you use Google Cloud’s Firestore for this. (It might be a bit overkill to use Distributed Counters, but it could also be fun!) Be aware that Firestore may incur small costs to store and manipuate data.
You should also include some tests for your Python code. Here are some resources on writing good Python tests.
12. Infrastructure as Code
You should not be configuring your API resources – the Firestore, the API Gateway, the serverless function – manually, by clicking around in the Google Cloud console. Instead, define them in a Terraform template and deploy them using the Terraform CLI. This is called “infrastructure as code” or IaC. It saves you time in the long run.
13. Source Control
You do not want to be updating either your back-end API or your front-end website by making calls from your laptop, though. You want them to update automatically whenever you make a change to the code. (This is called continuous integration and deployment, or CI/CD.) Create a GitHub repository for your backend code.
14. CI/CD (Back end)
Set up Cloud Build such that when you push an update to your Terraform config or Python code, your Python tests get run. If the tests pass, the application should get packaged and deployed to Google Cloud.
15. CI/CD (Front end)
Create a second GitHub repository for your website code. Create a Cloud Build configuration such that when you push new website code, the Cloud Storage bucket automatically gets updated. (You may need to invalidate your Cloud CDN cache in the code as well.) Important note: DO NOT commit Google Cloud credentials to source control! Bad hats will find them and use them against you!
16. Blog post
Finally, in the text of your resume, you should link a short blog post describing some things you learned while working on this project. Dev.to is a great place to publish if you don’t have your own blog.
And that’s the gist of it! For strategies, tools, and further challenges to help you get hired in cloud, check out the Cloud Resume Challenge book.