Writing A Python Script To Send Files To Amazon S3

Amazon Simple Storage Service or Amazon S3 is a storage service with a web API. I use Amazon S3 to store backups of my blog and other sites. I made a simple python script to handle file uploads to S3.

In order to use Amazon S3, first create a bucket using your Amazon AWS account. As the name suggests, bucket is a container. You can create buckets using the AWS management console.

The script we're going to write will take two input parameters

  1. Path to file, local
  2. Target S3 path

Ubuntu Linux As My Desktop Operating System

I started using Linux on my servers few years ago. I had a strong notion that Linux was not suited for desktop computers. Later, I realized that Linux is even more friendlier than the (proprietary) operating system I was using before. In my humble opinion, Ubuntu is one of the best Linux distributions available today. Ubuntu has plenty of packaged application software and drivers which are very essential. Out of the box, all these software packages work great. You can start using these instantly after installing Ubuntu.

Taxonomy upgrade extras: 

Configure Virtual Hosts Using Apache And Ubuntu

One of my friends had trouble configuring Apache2 on Ubuntu. I suggested my friend these steps to fix the problem. Configuring Virtual host in Apache2 is very straight forward. It is easy to find what you need in Ubuntu documentation. The below link clearly explains how to configure Apache2.


These are the least steps required to configure virtual host in Apache2. If you run into problems please refer the online Ubuntu documentation or Apache2 documentation.

To install Apache use the command
"sudo apt-get install apache2"

Taxonomy upgrade extras: 

12 Red Hat/Fedora/CentOS And Ubuntu Cross Reference Commands And Configuration Files

  • Have you used Fedora/Red Hat/CentOS before and looking for equivalent commands in Ubuntu?
  • Are you a Fedora/Red Hat/CentOS user looking for configuration files location in Ubuntu?
  • Vice-versa?

If you answered yes to any of the above, read on. I am trying to help you start using Ubuntu without much Googling.

This post provides a brief introduction on available Fedora/Red Hat/CentOS equivalent commands in Ubuntu. This will also be handy for Ubuntu users that have delved into the Red Hat/Fedora/CentOS world.

Taxonomy upgrade extras: