first impressions: docker in the cloud with oracle container cloud service

37
First Impressions: Docker in the Cloud with Oracle Container Cloud Service Harold Dost Raastech, Inc. CC BY 3.0 US, Harold A. Dost III 1

Upload: raastech

Post on 15-Apr-2017

17 views

Category:

Technology


0 download

TRANSCRIPT

First Impressions: Docker in the Cloud with Oracle Container Cloud Service

Harold DostRaastech, Inc.

CC BY 3.0 US, Harold A. Dost III 1

About the Speaker

Work For Raastech, Inc. - Virginia/DC Area 1

1 Image source: https://upload.wikimedia.org/wikipedia/commons/d/d2/USNavy030926-F-2828D-307AerialviewoftheWashingtonMonument.jpg

CC BY 3.0 US, Harold A. Dost III 2

Live in Michigan2

• Detroit Metro Area

2 Images Source: Wikipedia

CC BY 3.0 US, Harold A. Dost III 3

Looking to get into Gradle

Core Java

CC BY 3.0 US, Harold A. Dost III 4

Shameless Plug

• For SOA Administration

CC BY 3.0 US, Harold A. Dost III 5

This would be a good time to ask about how many are familiar with Docker itself before we delve too much into the Cloud service.

Benefits of Docker

• Lightweight

• Walled off from other process

• Repeatable

CC BY 3.0 US, Harold A. Dost III 6

When people talk about docker it's not just the engine it could be many parts of the ecosystem. However we are only going to go in to various aspects of it as we go.

DockerEcosystemCC BY 3.0 US, Harold A. Dost III 7

Oracle has been putting more services into their cloud portfolio, but how well does it work.well to start docker offers a lot of in terms of being lightweight and

Where to begin?

CC BY 3.0 US, Harold A. Dost III 8

Claims• Docker Compatible

• Multi-Host Applications

• Service Scaling

• CI/CD Pipeline

CC BY 3.0 US, Harold A. Dost III 9

Claims (cont.)• Operational Dashboards

• Intuitive Interface

• Health Checks

• Control Placement Policies

• Resource Pools

CC BY 3.0 US, Harold A. Dost III 10

Claims (cont.)• One Click Deploy

• Best Practices Included

CC BY 3.0 US, Harold A. Dost III 11

Before we see how everything works lets talk some number real quick.

Cost

CC BY 3.0 US, Harold A. Dost III 12

Compute Structure

• Product (per OCPU) comparable to 2 AWS vCPU basically 1 thread of core

CC BY 3.0 US, Harold A. Dost III 13

Star means coming soon

Compute Structure 3

• Standard | High Memory

• OC1* - 0.25/1.8 | N/A

• OC2* - 0.5/3.75 | N/A

• OC3 - 1/7.5 | OC1M 1/15

• OC4 - 2/15 | OC2M 2/30

• OC5 - 4/30 | OC3M 4/60

• OC6 - 8/60 | OC4M 8/120

• OC7 - 16/120 | OC5M 16/240

3 https://cloud.oracle.com/en_US/compute/pricing

CC BY 3.0 US, Harold A. Dost III 14

Cost - Metered

• General Purpose Compute (Price Per OCPU)

• $0.1344/Hour $112.90/Month $1174.12/Year

CC BY 3.0 US, Harold A. Dost III 15

Cost - Non metered

• General Purpose Compute

• $75.00 /Hosted Environment (Minimum 2)/Month

CC BY 3.0 US, Harold A. Dost III 16

Comparing To AWS• Has service called (Elastic Container Service)

ECS

• No additional for Compute Resources

• However ELB used for service discovery costs about $18/month/Load Balancer

CC BY 3.0 US, Harold A. Dost III 17

Docker Compatible

CC BY 3.0 US, Harold A. Dost III 18

Dockerfile 7

FROM java:8RUN apt-get updateRUN apt-get install -y maven nodejsEXPOSE 9000WORKDIR /appCOPY app /appRUN chown -R appuser /appUSER appuserENTRYPOINT mvn spring-boot:run

7 For more information about the Dockerfile format check here.

CC BY 3.0 US, Harold A. Dost III 19

The docker-compose.yml 8

web:

build: .

links:

- db

ports:

- "8000:8000"

db:

image: postgres

8 For more information about file arguments check here.

CC BY 3.0 US, Harold A. Dost III 20

Ultimately this a function of the

Multi-Host Applications

CC BY 3.0 US, Harold A. Dost III 21

Service Scaling

CC BY 3.0 US, Harold A. Dost III 22

CI/CD Pipeline 9

• Not really anything differentiating

• Can be done with any Docker instance

9 Image Source: https://xebia.github.io/cd-with-docker/img/continuous-deployment-pipeline.png

CC BY 3.0 US, Harold A. Dost III 23

Intuitive Interface

CC BY 3.0 US, Harold A. Dost III 24

Operational Dashboards

CC BY 3.0 US, Harold A. Dost III 25

Having port checking and load monitoring are definite good services to include

Health Checks

• Definite benefit, but almost expected at this point.

CC BY 3.0 US, Harold A. Dost III 26

Control Placement Policies

• Underlying technology certainly

CC BY 3.0 US, Harold A. Dost III 27

Resource Pools

CC BY 3.0 US, Harold A. Dost III 28

Not going to go into a diatribe however, yes one you get all of your configurations setup and working

One Click Deploy

CC BY 3.0 US, Harold A. Dost III 29

How ever I do believe that they were targetting the trend towards so called infrastructure as code. Allow for more repeatable configurations.

Best Practices Included• In marketing this doesn't really do much for

me.

• "Best" is generally up to interpretation.

CC BY 3.0 US, Harold A. Dost III 30

Using application from another presentation

Quick App Demo• How to deploy an application on Container

Service.

CC BY 3.0 US, Harold A. Dost III 31

ConclusionGood• Provides a relatively good experience over all.

• Much of this functionality provided by docker itself.

• Additional services are nice and seem to work well.

CC BY 3.0 US, Harold A. Dost III 32

Bad• Barrier to entry.

• Ill defined differentiators.

CC BY 3.0 US, Harold A. Dost III 33

Ugly• Nothing particularly jaw dropping.

CC BY 3.0 US, Harold A. Dost III 34

Questions?

CC BY 3.0 US, Harold A. Dost III 35

Contact• Harold Dost

• @hdost

[email protected]

CC BY 3.0 US, Harold A. Dost III 36

CC BY 3.0 US, Harold A. Dost III 37