development environments in seconds using bitnami containers

13

Upload: adnan-abdulhussein

Post on 22-Jan-2018

126 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Development environments in seconds using Bitnami containers
Page 2: Development environments in seconds using Bitnami containers

Confidential

Development environments in seconds using containersAdnan Abdulhussein, @prydonius

Miguel Martinez, @migmartri

Page 3: Development environments in seconds using Bitnami containers

What you are going to learn today

• Overview of how to setup a development environment

• Some background about virtualization

• How to run a development environment using Docker containers

• How to add new libraries and make changes in your application code

Page 4: Development environments in seconds using Bitnami containers

What’s a development environment?

• Editor / IDE

• Source control

• Runtime

• Dependencies

Page 5: Development environments in seconds using Bitnami containers

Traditional development environment

• Runtime and dependencies installed in your

OS

• Using system packages (apt-get) or similar

(homebrew)

• Tailored for your machine

• Runtime versioning at best using rbenv,

python virtualenv

Page 6: Development environments in seconds using Bitnami containers

Virtualized development environment

• Isolated part of your main computer which thinks it’s a computer on its own

• It uses memory and CPU resources like a real computer• It runs an operating system and applications• Messing with it will not pollute the host OS

What’s a Virtual Machine?

What’s a Container?

• Lightweight Virtualization method• Service oriented

Like a Virtual Machine plus:

Page 7: Development environments in seconds using Bitnami containers

Virtualized development environment

Runtimes and dependencies running inside a Virtual Machine or a container

Page 8: Development environments in seconds using Bitnami containers

Traditional vs Virtualized

Traditional Virtualized

OS independent No Mostly

Shareable No Yes

Reproducible Hard Easy

Upgradeable Hard (patch) Easy (replace)

Page 9: Development environments in seconds using Bitnami containers

What are we going to do?

Multi-tier Ruby on Rails development environment

using Docker

Page 10: Development environments in seconds using Bitnami containers

Confidential

Workshophttps://github.com/bitnami/codeday-workshop

or

http://bit.ly/2fMlT5V

Page 11: Development environments in seconds using Bitnami containers

Summary

• Run multi-tier applications, i.e database +

NodeJs

• Install dependencies, i.e rubygems, npm

• Run common tasks, i.e rake, gulp

• Share your environment with team members

With a Bitnami developer environment you can

Page 12: Development environments in seconds using Bitnami containers

Not a Rails developer? No problem!

https://bitnami.com/containers

Page 13: Development environments in seconds using Bitnami containers

Thank You