Build: PocketAWS—Build S3 URLs from Anywhere, Instantly


Build: PocketAWS—Build S3 URLs from Anywhere, Instantly








PocketAWS is a tiny command-line tool with a simple mission: let you build S3 URLs in seconds — public or presigned — no matter where you're working.

You can run it from an EC2 bastion inside AWS. Or you can run it from a Chromebook on your couch. If you have Python 3 and boto3, you're good to go.


What It Does

This script builds:
  • Public S3 URLs (unsigned)
  • Presigned S3 URLs (with optional expiration)
It asks a few simple questions, gives you a clean URL, and resets for another run. It doesn't crash on typos or blank inputs — just guides you back in the loop.


Installation

To install the required AWS SDK (boto3) system-wide: 


Bash
sudo apt-get install boto3   


No virtual environment needed.


Sample Run


Bash
$ python3 pocketaws_s3_url_builder.py

--------------------------------------------
 PocketAWS: S3 URL Builder
--------------------------------------------
Enter the name of your S3 bucket: sample-bucket
Enter the object key (example: folder/file.txt): docs/report.pdf

Choose URL type:
  1) Public (Unsigned)
  2) Presigned (Temporary Access URL)
Enter your choice (1 or 2): 1

--------------------------------------------
Generated S3 URL:
https://sample-bucket.s3.amazonaws.com/docs/report.pdf
--------------------------------------------

Would you like to build another URL? (y/n): n

Thank you for using PocketAWS S3 URL Builder!


Try It Out

Download at GitHub Gist


PocketAWS is one of several micro-tools designed to make cloud workflows faster and friendlier. Whether you're deep in the AWS ecosystem or just dipping your toes in, this one saves time.

Keep building. Keep simplifying. ☁️🔗


Need AWS Expertise?

We'd love to help you with your AWS projects.  Feel free to reach out to us at info@pacificw.com.


Written by Aaron Rose, software engineer and technology writer at Tech-Reader.blog.

Comments

Popular posts from this blog

The New ChatGPT Reason Feature: What It Is and Why You Should Use It

Raspberry Pi Connect vs. RealVNC: A Comprehensive Comparison

The Reasoning Chain in DeepSeek R1: A Glimpse into AI’s Thought Process