Using S3 for Media Storage on WordPress

This post, really, is for me more than anyone else. There is usually enough time between the set up of my WordPress sites using S3 for media storage that I forget one step or another and spend way too much time trying to figure out what I missed.

Create a bucket with an appropriate policy Amazon has a bazillion. I roll with a customized version, but Amazon has good options. Be sure to enable the static website check box in the bucket settings.

aws bucket preferences

Once you have the bucket, create a user and add user access info to the config and create a user policy. Again, Amazon has templates to choose from, so make sure you’re picking appropriately.

If you haven’t already, install WordPress on your server. Their 5 minute install is great. Then you need to install the AWS and WP Offload S3 plugins. At this point, double check and make sure that the uploads folder was created. This bit me for the first time in my last install. What I think happened was that I was working behind a firewall, and that interrupted my connection to the off-site server, and prevented the auto-creation of this folder.

Add a CNAME record to the DNS for the new media site on your server.

A final step is to make sure that the WP Offload S3 plugin is configured correctly.

wp offload s3 settings

Yours may be different, but these are the settings I roll with.

Even if I am the only person who this helps, I will be very pleased to have this anyway.

Have a step I missed? Something weird you’ve run into with these plugins? Drop it in the comments!

Work, Life, Learning

I’m going to tell you a secret. Are you sitting down? Are you ready?

stephen colbert eating popcorn in old 3D glasses

I’m exhausted.

Some of that comes from some personal reasons, which I will not get into here, but when I think about everything that there is to learn, to know, to keep up on, I need to take a nap.

Sleepy boo from Monsters Inc

The break-neck pace for technology is fun, it allows you to continually challenge yourself. But after awhile, how are you supposed to keep up on the new tech, maintain what you’re working on at work, and still have a life outside of code?

I love to code, I love my job, but I also love my life outside of work. Seeing family, friends, love interests, maybe playing a sport or two, and reading something for pleasure is a luxury that has become down right decadent. It seems that, no matter who you are, finding work/life balance is almost impossible in tech.

You may have a job that is good with balancing work/life but not work/life/learning. Not every job has set aside time for individual training, so keeping up comes outside of work hours. Which cuts into the life balance. Or sleep. Both of which are vital to having a sane and healthy workforce.

I don’t have an answer, but something has to change before the entire industry burns out from lack of sleep and too much time spent reading tech specs.