Skip to content

Instantly share code, notes, and snippets.

View Razzendah's full-sized avatar
💭
Learning

Razzendah Razzendah

💭
Learning
View GitHub Profile
@Razzendah
Razzendah / deregister-task-definitions.sh
Created April 29, 2022 16:30 — forked from jen20/deregister-task-definitions.sh
Script to deregister all ECS Task Definitions in a given region
#!/usr/bin/env bash
get_task_definition_arns() {
aws ecs list-task-definitions --region ${AWS_REGION} \
| jq -M -r '.taskDefinitionArns | .[]'
}
delete_task_definition() {
local arn=$1

Google Cloud CDN with private GCS bucket

How to authenticate Google Cloud CDN to a private GCS bucket

In order to authenticate to a private GCS bucket, we need to connect the Cloud CDN load balancer through a Backend Service, instead of a Backend Bucket. See Configure private origin authentication for more details.

As of April 2024, the