Technical Articles

Sharing our tech experience with you

  • Start and Stop instances on AWS

    29 October 2017 | Author: Nikola Tosic

    Experimenting in development, not Production. Moving your infrastructure to one of the mainstream cloud providers such as Amazon Web Services or Google Cloud is in most cases a massive cost saving for organizations. Not only by just cutting costs of your hardware, but more importantly cutting costs of operational resources. Ease of scaling compute, storage and other infrastructure resources by just ...

    Read more
  • Running docker containers from the CLI backed by AWS

    09 November 2016 | Author: Christophe DelCourt
    Docker / Jenkins / cli / AWS /

    Preface This article exists because Docker for Mac is not yet mature and this provides a way to run docker containers in AWS, but be able to work with them like you would locally. The advantages? * Container pull speed * Disk/Memory/CPU use moved to an AWS instance * Overall build speed tends to be quicker The disadvantages? * Running an ...

    Read more
  • Automate the build of serverless to lambda with Docker and Jenkins

    14 October 2016 | Author: Arthur Marinis

    In the wake of doing things faster with serverless, the serverless.com project and the benefits you get from running code in Lambda (when it makes sense), I wanted to be able to automate the deployment of my serverless projects in Jenkins. To do this, I had to make some decisions on the coding practice, and yes it's not perfect but it ...

    Read more
  • Native Docker containers for Windows

    04 October 2016 | Author: Aaron Walker

    Docker containers for Native Windows platforms is something we have waited for for a long time. Here it is, now we can build windows based apps the same way we do everything else FROM microsoft/iis RUN mkdir C:\site RUN powershell -NoProfile -Command \ Import-module IISAdministration; \ Remove-WebSite -Name 'Default Web Site'; \ New-IISSite -Name "Site" -PhysicalPath C:\site -BindingInformation "*:80:" EXPOSE 80 ...

    Read more
  • AWS re:Invent 2015 cool new features

    08 October 2015 | Author: Aaron Walker
    Cloud / AWS /

    Amazon Web Services re:Invent conference is one of the biggest cloud conferences worldwide. We have put together a list form the first couple days of announcements below. Check it out. Some of the features are pretty cool. The following is a run sheet of the slack chat internally at base2. We will add more as the week goes on. 6:44 AM ...

    Read more
  • copying SVG files to S3 using AWS CLI

    15 April 2015 | Author: Damien
    Cloud / AWS /

    Although a really simple one once you work it out, but painful before you get there, the AWS CLI is failry primitive in some respects and can cause some pain in getting things done. We recently had this problem introducing SVG files to our static website that is built using AWESTRUCT and hosted on S3. Yes, AWESTRUCT is pretty cool. SVG ...

    Read more
  • Chef on AWS

    27 May 2013 | Author: Tom
    Cloud / Chef /

    Chef-server won’t install correctly on a stock Amazon Linux image. The following needs to be modified to allow it to work as expected (still isn’t patched in latest Chef): Edit the following file: $ vi /opt/chef-server/embedded/cookbooks/runit/recipes/default.rb Add the following stanza after the platform_version “if” statement: when “amazon” include_recipe “runit::upstart” Problem solved! ...

    Read more
  • RAID-1 Sneakernet Part II

    16 October 2012 | Author: Cameron Maxwell
    Cloud / AWS /

    So. The disks got shipped off to AWS after having been formatted and having the SIGNATURE files put on them. Each disk was sent as a separate job (hence the RAID-1) I received an email from AWS for each job stating “In the processing of XXXXX, we discovered that your device does not contain a valid SIGNATURE file. A valid SIGNATURE ...

    Read more
  • Logging the correct IP in apache when using an Elastic Load

    01 October 2012 | Author: Cameron Maxwell
    Cloud / AWS /

    A common problem when using ELB, or any proxy for that matter, is that the source IP for all traffic is the load balancer itself. AWS ELB support the X-Forwarded-For protocol. This means that the original IP is now sent in an http header to your application. This still requires you to change your app to look at this header instead ...

    Read more
  • RAID-1 Sneakernet

    24 September 2012 | Author: Cameron Maxwell
    Cloud / AWS /

    I’m currently looking at how to use AWS import export in practice for a new data product. The saying goes something like – “Never underestimate the bandwidth of a Station Wagon full of tapes”. As it’s the first time we’ve used the service, we are going to be doing two simultaneous, identical export jobs http://en.wikipedia.org/wiki/Sneakernet + http://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_1 + http://aws.amazon.com/importexport/ It’s a ...

    Read more
  • s3cmd vs s3fs

    21 August 2012 | Author: Cameron Maxwell
    Cloud / AWS /

    s3cmd is one of the most heavily used AWS tools after Amazon’s own command-line toolsets. It is a good utility that allows to to interact with S3 from the command line and synchronise local files to S3. The biggest drawback for s3cmd is its speed for synchronising many small files. The average speed is about 250kB/s for files averaging 80kB. We ...

    Read more