DEV Community

Cover image for An Old Noob #3 - Cloud Resume Challenge, that ol' 403
Zachary Wilson
Zachary Wilson

Posted on • Edited on

2 1

An Old Noob #3 - Cloud Resume Challenge, that ol' 403

It's been a week.

My intention was to post weekly on the progress i've made completing the Cloud Resume Challenge. This week is unfortunately more about obstacles than progress.

In retrospect, it hasn't been an entirely unproductive time. I completed the javascript for my visitor counter which successfully increments my DynamoDB table, and was (previously) thinking i was prepared to say, "here world! it's a good start!". As i'm progressing though, i realize that there are plenty of guides out there for the steps to complete the challenge, but not necessarily as securely as i'd prefer. I'm also discovering that the documentation is ...hit or miss. And it's not for a lack of looking.

Search results

While i had also originally said my intention was to stick to the specific challenge objectives, security is kinda my thing. I don't want people to be able to access my content directly from an S3 URL, i want them to go through CloudFront. I created an origin access identity on my bucket, an API gateway to forward the requests, and eventually built a Lamda@Edge after having read that was required to deliver the correct host value to the API...

Sadly, with public access disabled on my bucket, i continue to get the Missing Authentication Token error. Even sadder, the number of things i've found and attempted to resolve this (20 at least? no exaggeration) have all been unsuccessful.

So this week finds an old noob a little discouraged.

1 Hour Later

...and i'm still parsing settings and search results, trying to find that piece i'm missing.

Sentry blog image

Identify what makes your TTFB high so you can fix it

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

Read more

Top comments (1)

Collapse
 
zjgrey profile image
Zachary Wilson

I decided to stop trying to find the "magic tweak" and go back to the basics, rebuild (or in this case verify) from the ground up using the most updated documentation. I had a feeling it was something simple I was overlooking. I was right =]

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay