2016-10-16

Deployed first site to Amazon Elastic Beanstalk

It is a single environment to manage DB, site, firewall, load balancer,... cool stuff. But also quite useful. Need to organize the process though, but it is justifiable. Now could replicate environment without many manual steps. I hope the site will grow to the level of need for auto-scale feature in Beanstalk.

In competitive stacks with automatic scaling given by Heroku or Google Apps Engine there is a huge gap in supported frameworks. The decent CMS is almost impossible to configure and support by night-time project owner there. Unlike others Amazon made a classic LAMP available out of the box. Well, almost: for complete Drupal app I still need to:

  1. add DB in RDS, open access to my IP in security group, create schema 
  2. install app, create key pair for ssh access, open ssh access to my IP in site security group, 
  3. adjust .htaccess zip and download application folder. This archive content is now a primary deployment unit. For convenience it will be placed in git repo. 
My wish to Amazon folks: with covering the steps above you will completely reach the declared goal of creating the ready-to-use complex site like CMS with a push of a button. Just make a GIT repo for each app type and have the process started with a git fork and finished with running app. 

Another wish: make a DNS server( or configure /etc/hosts in each instance) a part of BeanStalk so entries like "dbhost" could be used inside of instances and configured as part of sub-cloud without ever need to know what is ec2-123-45-678-8.us-west-2.compute.amazonaws.com means.

2016-06-21

OSX UX is counterproductive

In another words why I hate OSX UX. It is designed for house wives but not for professional. There are many work around but nothing given out of the box like in Windows 10. Most of ways around is to substitute what has been done by OSX.
  • In open dialog there is no space to paste the file path. Even in Xcode. Google's adwise made me hysterical.
    trick CMD+SHIFT+G opens text input for path. Unfortunately it is blank and does not match the current folder. At least TAB makes similar to bash suggestion.
  • No folder tree in finder, neither the current path. trick CMD+I opens folder preferences popup. At least here you could see the breadcrumb where the folder is located. No way to copy into clipboard though.
    hack to create a context menu for folder path. Not for ordinary people, not convenient either.
  • Functional keys so mixed with OS and application that became useless. As sample CTRL-F3 works as in application as in desktop preventing consistent behavior. Look at complains list.
  • Image editor, even primitive is not a part OSX.