Web Hosting with OpenShift

Slides:



Advertisements
Similar presentations
© 2010 UC Regents | UC Berkeley ist.berkeley.edu IST Platform Services IST Platform Services and Web Hosting Options Micronet Meeting June 23, 2010 Don.
Advertisements

Welcome to Middleware Joseph Amrithraj
© 2010 VMware Inc. All rights reserved Amazon Web Services.
2/23/2004 Load Balancing February 23, /23/2004 Assignments Work on Registrar Assignment.
Introduction to Web Database Processing
Introduction to Web Interface Technology (CSE2030)
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
IT 210 The Internet & World Wide Web introduction.
Module 13: Configuring Availability of Network Resources and Content.
Chapter 1: Introduction to Web
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
608D CloudStack 3.0 Omer Palo Readiness Specialist, WW Tech Support Readiness May 8, 2012.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
IOS and Android with Windows Azure Websites Name Title Address Website.
Configuring Name Resolution and Additional Services Lesson 12.
VMware vSphere Configuration and Management v6
70-412: Configuring Advanced Windows Server 2012 services
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
Lecture 1: Network Operating Systems (NOS) An Introduction.
INTRODUCTION TO AMAZON WEB SERVICES (EC2). AMAZON WEB SERVICES  Services  Storage (Glacier, S3)  Compute (Elastic Compute Cloud, EC2)  Databases (Redshift,
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Chapter TCP/IP in the Windows Environment © N. Ganesan, Ph.D., All rights reserved.
Name and Address Resolution Domain Name System (DNS)
Chapter 7: Using Windows Servers
Managing State Chapter 13.
Contents Software components All users in one location:
IS1500: Introduction to Web Development
Deploying Web Application
File Share Parameters File share resources can be normal shares, DFS roots, or Dynamic Shares. You configure file share permissions at the same time and.
The Intranet.
Web application hosting with Openshift, and Docker images
Services DFS, DHCP, and WINS are cluster-aware.
Failover and High Availability
Web application hosting with Openshift, and Docker images
Apache web server Quick overview.
Dockerize OpenEdge Srinivasa Rao Nalla.
Affinity Depending on the application and client requirements of your Network Load Balancing cluster, you can be required to select an Affinity setting.
N-Tier Architecture.
Google App Engine Mandeep Singh (37926)
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
Unix System Administration
2TCloud - Veeam Cloud Connect
VceTests VCE Test Dumps
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
Virtualization overview
Introduction to Computers
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Software Architecture in Practice
Module 3 Building a web app.
VCE Dumps
Kubernetes Container Orchestration
Introduction to Docker
CS6604 Digital Libraries IDEAL Webpages Presented by
Chapter 2: System Structures
Getting Started with Kubernetes and Rancher 2.0
Learn. Imagine. Build. .NET Conf
Module P3 Practical: Building a webapp in nodejs and
Specialized Cloud Architectures
Automation of Control System Configuration TAC 18
OpenShift as a cloud for Data Science
For the MVHS Cyber Defense CLub
Q/ Compare between HTTP & HTTPS? HTTP HTTPS
Exceptions and networking
Presentation transcript:

Web Hosting with OpenShift Brice Copy – BE-ICS BASICS presentation – 04 Feb 2017

Overview A quick introduction to OpenShift Why OpenShift OpenShift concepts Limitations Docker usage remarks BE-ICS 09 Feb 2016

Why OpenShift ? Migrating thousands of AFS / DFS websites Supporting multiple web technologies easily (PHP, Node, Python, PERL, Java) Reducing maintenance complexity for the IT department Supporting modern architectures : Clustering Load balancing and high availability BE-ICS 04 February 2017

OpenShift concepts Project Pod PVC Service Route BE-ICS 04 February 2017

Route Service 1 Pod Service 2 PVC OpenShift Project BE-ICS 04 February 2017

Project An Openshift project is where you deploy applications and supporting components. A Project is composed of : A private network, with non-routable IP addresses A domain name, for which IT Dept will generate SSL certificates automatically (Optional) a CERN SSO domain registration (! Only one for the entire project) BE-ICS 04 February 2017

Pod A pod is essentially a container / a computer : It has a hostname, an IP address, a transient file system It can be attached to Persistent Storage (if it needs a persistent file system) It can be initialized from a build process, or from a Docker image. Pods can be replicated manually or automatically to cope with load (depending on their CPU usage, I/O activity) BE-ICS 04 February 2017

Persistent Volume Claim (PVC) By default, Pod only have a transient file system Upon restart, all files are lost. A PVC indicates the requirement for a Pod to store persistent files Indicate how much storage is required Indicate what kind of access (shared, replicated, read-only etc…)  OpenShift will procure the matching storage BE-ICS 04 February 2017

Services Defines a group of containers that serve the same function (typically, work over the same ports, host the same code) Example : Databases Application Server Services can be exposed to other Services, or to the outside world through Routes BE-ICS 04 February 2017

Route A Route is your project’s window to the world : It exposes a Service on a well-known URL path and maps internal ports to port 443. Routes are high-availability URLs, they are guaranteed to work, but it’s up to you to ensure your underlying Service is properly sized. HA Proxy (the underlying Router) supports : HTTPS WebSockets TLS over SNI You can access your project without a route, through SSH Tunneling – but no high-availability is guaranteed. BE-ICS 04 February 2017

Limitations Routes are quite constraining, unless your code is HTTPS or WebSocket friendly. Most Docker images cannot at the moment be used without some minor changes (USER directives, file system access rights). BE-ICS 04 February 2017

Demo BE-ICS 04 February 2017

A few words about Docker usage Ensure that your image uses the USER clause (with a non-root user) Ensure that your image does not expect non-root access rights to the transient file system – OpenShift randomly generates UIDs – you can pin a UID and hard-code it in your image… or use NSSWRAPPER (either way, it’s fun!) Beware of Docker image hashes – if your container is not redeploying, it’s mostly because of them. Consider using S2I capabilities (but be prepared to rely on OpenShift build idiosyncrasies). BE-ICS 04 February 2017

04 February 2017 BE-ICS