Python Date and Time formatting

%A Weekday as locale’s full name. Monday
%d Day of the month as a zero-padded decimal number. 30
%B Month as locale’s full name. September
%m Month as a zero-padded decimal number. 09
%Y Year with century as a decimal number. 2013
%I Hour (12-hour clock) as a zero-padded decimal number. 07
%H Hour (24-hour clock) as a zero-padded decimal number. 07
%M Minute as a zero-padded decimal number. 06
%S Second as a zero-padded decimal number. 05
%p Locale’s equivalent of either AM or PM. AM

Using RegEx in Notepad++

Using the following RegEx strings in NotePad++ to clean up book marks file.
Do a Search and replace,
In for search for fields put the following strings
In the replace field, put nothing,
Make sure regex is selected.

Create a new AWS Instance

1. Click Services in the top left corner
2. Click EC2

3. Click the Launch Instance button in about the middle of the page
4. Click Select next to “Amazon Linux – Free Tier eligible”
5. Make sure the blue box next to the t2.micro free eligible is selected
6. Click Next: Configure instance details
7. If this is your first instance, you’ll probably want to leave everything on the step 3 page at the defaults.
8. Click Next: Add storage
9. At step 4, also leave everything as is for now and click Next: Add Tags
10. On the step 5 page, enter a name for the server, then click Next: Configure Security Groups.
11. I will cover security groups later, so for now just click Review and Launch
12. Click Launch
13. Select create a new key pair, enter a key name then click download key pair.
remember where you save the file and make a second copy/backup somewhere safe.

14. Click Launch instances.
15. Click the View instnaces button at the bottom of the page to watch you instance build.

Creating and Assigning an Elastic IP

1. From the Network & Security group in the left window, click Elastic IPs

2. Click Allocate new address
3. Click Allocate
4. Click Close
5. Select the new address
6. From the Actions drop down button, select Associate address
7. Select the instance you want to associate with the new ip from the drop down list
8. Select the private IP from the drop down list
9. Click Associate.
10. Click close