Using S3 presigned upload URLs with Hetzners's new object storage
Hetzner has launched S3-compatible object storage, requiring users to configure a CORS policy for presigned URL uploads. Launchway offers a SaaS starter kit with S3-compatible storage features.
Read original articleHetzner has introduced S3-compatible object storage, allowing users to utilize familiar AWS SDKs without vendor lock-in. However, to enable direct uploads via presigned URLs, users must configure a CORS policy for their buckets, as the default settings block such uploads. The process begins with creating a bucket and obtaining the access and secret keys. Users can set up the AWS CLI with these credentials to interact with their Hetzner bucket. The CORS policy can be defined in JSON format, specifying allowed origins, methods, headers, and other parameters. Once the policy is created, it can be applied using the AWS CLI command to set the bucket's CORS configuration. This setup allows web applications to upload files directly to the Hetzner object storage, streamlining the process and reducing server load. Launchway offers a SaaS starter kit that includes S3-compatible storage along with various features for building applications.
- Hetzner's S3-compatible storage allows use of AWS SDKs without vendor lock-in.
- Users must configure a CORS policy to enable presigned URL uploads.
- The CORS policy is defined in JSON format and specifies allowed origins and methods.
- The AWS CLI can be used to apply the CORS policy to the Hetzner bucket.
- Launchway provides a SaaS starter kit that includes S3-compatible storage and additional features.
Related
Show HN: S3HyperSync – Faster S3 sync tool – iterating with up to 100k files/s
S3HyperSync is a GitHub tool for efficient file synchronization between S3-compatible services. It optimizes performance, memory, and costs, ideal for large backups. Features fast speeds, UUID Booster, and installation via JAR file or sbt assembly. Visit GitHub for details.
Hetzner Cloud now also in Singapore
Hetzner Cloud has launched services in Singapore, enhancing connectivity to Asia. Users can configure cloud servers with SSD storage and Load Balancers, starting at €7.90 per month.
Behind AWS S3's Scale
AWS S3, launched in 2006, supports 100 million requests per second, stores 280 trillion objects, utilizes over 300 microservices, and offers strong durability and data redundancy features for cloud storage.
Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax
The article outlines a beginner-friendly guide to setting up a Hetzner virtual machine for $4/month, covering SSL installation, DNS configuration, and web application deployment using GitHub and PM2.
Hacking misconfigured AWS S3 buckets: A complete guide
Misconfigured AWS S3 buckets pose security risks. The guide details methods for testing permissions, emphasizes enabling versioning to prevent data loss, and recommends automated tools for efficient enumeration and testing.
Related
Show HN: S3HyperSync – Faster S3 sync tool – iterating with up to 100k files/s
S3HyperSync is a GitHub tool for efficient file synchronization between S3-compatible services. It optimizes performance, memory, and costs, ideal for large backups. Features fast speeds, UUID Booster, and installation via JAR file or sbt assembly. Visit GitHub for details.
Hetzner Cloud now also in Singapore
Hetzner Cloud has launched services in Singapore, enhancing connectivity to Asia. Users can configure cloud servers with SSD storage and Load Balancers, starting at €7.90 per month.
Behind AWS S3's Scale
AWS S3, launched in 2006, supports 100 million requests per second, stores 280 trillion objects, utilizes over 300 microservices, and offers strong durability and data redundancy features for cloud storage.
Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax
The article outlines a beginner-friendly guide to setting up a Hetzner virtual machine for $4/month, covering SSL installation, DNS configuration, and web application deployment using GitHub and PM2.
Hacking misconfigured AWS S3 buckets: A complete guide
Misconfigured AWS S3 buckets pose security risks. The guide details methods for testing permissions, emphasizes enabling versioning to prevent data loss, and recommends automated tools for efficient enumeration and testing.