Amazon VPC is not a network and does not provide a measure of security

A VPC, or virtual private cloud, does not offer security. It is only a container, inside which subnets are created. AWS resources are launched inside of a subnet. EC2 instances make use of Security Groups for their security. Subnets provide an additional layer of security in the form of Network Access Control Lists. The combination of Security Groups, and Network ACLs are what provide security to EC2 instances. VPCs themselves are not networks, and AWS resources cannot be placed inside of them (other than subnets, Internet Gateways, and VPC endpoints, none of which the customer is required or expected to “secure”)

Installing Ansible on Cygwin

From cygwin install:

(if you cannot find python-something then search for python2-something)

  • python-jinja2
    python-markupsafe
    python-setuptools
    python2
    python2-appdirs
    python2-asn1crypto
    python2-backports.ssl_match_hostname
    python2-cffi
    python2-chardet
    python2-cryptography
    python2-devel
    python2-docutils
    python2-enum34
    python2-idna
    python2-imaging
    python2-ipaddress
    python2-lockfile
    python2-lxml
    python2-markupsafe
    python2-openssl
    python2-packaging
    python2-pip
    python2-ply
    python2-pyasn1
    python2-pycparser
    python2-pygments
    python2-pyparsing
    python2-requests
    python2-rsa
    python2-setuptools
    python2-six
    python2-urllib3
    python2-wheel
    python2-yaml
    gcc-core

Then open cygwin, and run:

pip2 install ansible

UpdraftPlus Backup Plugin for WordPress

UpdraftPlus seems to be a promising backup plugin, with a daily/weekly/… schedule for backing up database, as well as wordpress files. I’m not happy with the way Google makes it hard for these plugins to work with them. For this reason I was forced to select Dropbox as the remote backup destination, instead of Google Drive. S3 is also an option.

I’d give it 5 stars overall.

Moved blog to AWS

I have just migrated my blog from my previous host j u s t h o s t to Amazon Web Services. Even on just a humble T2.micro, the speed is noticeably quicker. I have MySQL running on the same host, with no load balancers, and just an Elastic IP Address and Route 53 A Record pointing to it. I still need to figure out a way to automate a daily Ec2 Snapshot, with deletes after 14 days.

Port Forwarding NAT on VMware Player

The previous webpage I was using to help me with making custom configurations to my NAT for my virtual machines is no longer viable for Version 5. However, after upgrading to version 5, I had to follow these directions:

In VMWare Player 5 you need to:
go to the vmware-directory and run in an elevated cmd.exe-box
rundll32.exe vmnetui.dll VMNetUI_ShowStandalone

Removing read only flag from Windows Diskpart Partition tool

I was trying to investigate a failed disk from a RAID array using a USB hard drive dock and Windows 7. The problem was Windows was reporting that the disk was read-only, so it wouldn’t repartition the hard disk.

I opened up diskpart tool in windows (Run As Administrator) and tried to run the clean command, but again it complained that the hard drive was in read-only mode.

Finally, I found the way to remove the read-only flag, so I could wipe the drive, and scan it for bad sectors.


DISKPART> list disk
DISKPART> select disk 2
DISKPART> list part
DISKPART> select part 2
DISKPART> attrib part clear readonly

User your own timezone in Linux shell

Do you use a hosting provider that has a different timezone than you do? You can change the appearance of the timezone easily, without root access, or playing around with dates and times.

You can use the tzselect command. It will ask you for your Continent, your State/Province, and will output the command you need to modify your timezone.

I live in Brisbane, Australia, so my timezone is Australia/Brisbane. All I needed to do what append one line to my .bash_profile

echo “export TZ=Australia/Brisbane” >> .bash_profile

Now date returns the correct date and time, and all my files have local timestamps.

Really, really bad hosting!

Do not sign up with greenhostit.com. If you require SSH access, don’t use them. If you follow instructions that their support recommends, you’ll get blocked from SSH access as a result.

Very bad web hosting

About Brand Management, Stephanie writes:

There simply is no better salesperson for your business than a satisfied customer. Stay involved. Monitor projects and keep them on schedule. Do not be late or miss project milestones. This is like instant death. Lose money. That’s right. Even if you lose money on a client or customer, that one individual can bad mouth you globally today. Check out Angieslist.com if you don’t believe it. You may lose some cash up front but, again, a happy client is your best salesperson – and they’re FREE. Sweet.

Emphasis mine.