Dynamic DNS support for EGI Federated cloud

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

automated single login access to Novell storage resources
Introduction To The Course Network Architecture Hervey Allen Chris Evans Phil Regnauld September 3 - 4, 2009 Santiago, Chile.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 13: Administering Web Resources.
DIMES Planner The DIMES Project Tel Aviv University October-2010.
1 CS 502: Computing Methods for Digital Libraries Lecture 22 Web browsers.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
© Copyright 1997, The University of New Mexico C-1 Internet Service Provider Services What to do once you’re connected.
Hands-On Microsoft Windows Server 2003 Administration Chapter 7 Administering Web Resources in Windows Server 2003.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Host Name Resolution. Overview Name resolution Name resolution Addressing a host Addressing a host Host names Host names Host name resolution Host name.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
NORTEL NETWORKS CONFIDENTIAL CallPilot 150 Modem Access Jan 03, 2005 Version 1.5.
IT 210 The Internet & World Wide Web introduction.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Computation for Physics 計算物理概論 Introduction to Linux.
Pc Naming Configuration 1.WEB REGISTER 2.FIXNAME 3.MCAFEE AGENT SETUP ITC Training: Session 2.
Copyright 2000 eMation SECURITY - Controlling Data Access with
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Proxy Server PROXY SERVER. What is a Web Proxy? Proxy Server A proxy is a host which relays web access requests from clients Used when clients do not.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Web Access. Overview  Purpose  Prerequisites  Install Components  Enable Virtual Directories  IIS Configuration & Security  Troubleshooting.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
How to use WS_FTP A Step by Step Guide to File Transfer.
Uploading Web Page  It would be meaningful to share your web page with the rest of the net user.  Thus, we have to upload the web page to the web server.
LINCWorks Mesh Networking User Guide. This user guide will give a brief overview of mesh networking followed by step by step instructions for configuring.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
CLINIC-LAB COMMUNICATION Configuring 3Shape Communicate™
PKI & Web Services SPS Spotlight Series January 2015.
4.01 How Web Pages Work.
Understand Names Resolution
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Installing TMG & Choosing a Client Type
Introduction to Operating Systems
Instructor Materials Chapter 5 Providing Network Services
WikID installation/training
Configuring ALSMS Remote Navigation
Microsoft Windows NT 4.0 Authentication Protocols
Federation made simple
Data and Applications Security Developments and Directions
Implementing CRM 2011 Claims-Based Authentication, ADFS and IFD
Assess Survey Invitations
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 13: Administering Web Resources.
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
FTP - File Transfer Protocol
Lecture 6: TCP/IP Networking By: Adal Alashban
Internet Applications
Microsoft FrontPage 2003 Illustrated Complete
NFX Q-Port on-boarding guide
Telnet/SSH Connecting to Hosts Internet Technology.
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
DHCP, DNS, Client Connection, Assignment 1 1.3
IIS.
Configuring Internet-related services
SharePoint Online Hybrid – Configure Outbound Search
Unit 1.4 Wired and Wireless Networks Lesson 3
Access eJournals Form Your Home
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Windows Server Administration Fundamentals
INTERNET APPLICATIONS
APACHE WEB SERVER.
Windows Name Resolution
4.01 How Web Pages Work.
Web Servers (IIS and Apache)
Computer Networks Protocols
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Dynamic DNS support for EGI Federated cloud Viet Tran (IISAS)

Requirement Some apps/VOs need VMs running in clouds with valid DNS hostnames (https://docs.google.com/spreadsheets/d/1pKBNuHV9FgQ-k6cIQ_2Eez_y6KZsiSVoLKW953QVkyo/edit#gid=0) In principle, any service hosted in cloud will need a valid DNS hostname Supports for DNS in EGI Federated cloud are very limited and fragmented Some sites have new hostname for every new VM Some have fixed hostname for each IP Some do not support at all Random, encrypted and unpredictable hostnames for services hosted in clouds Users need to reconfigure servers and clients for every start

EGI FedCloud wide dynamic DNS support For users: can register hostnames and assign them to VMs: Memorable, sensible hostnames for services hosted in FedCloud Predictable, reusable hostnames for clients/servers setting, no reconfiguration of clients and servers for every start Common domains for VMs in whole federation, independent from location of VMs in FedCloud For sites: no changes, no additional support required For FedCloud: promotion of federated approach

DDNS command-line client Architecture Users EGI CheckIn Authentication DDNS command-line client NS-update server Register hostnames Assign/update IPs updating DNS records BIND9 DNS server DNS server

Implementation NS-update server: nsupdate.info software Open-source, available on github.com Based on stable components (django framework, standard python libraries) Server in production for free from 2014 Still active development BIND9 DNS server De-facto standard for DNS server DNS records update via RFC 2136

Standards and compliance All communications between components are supported by standards: OpenID Connect between NS-update – EGI CheckIn dyndns2 between command-line client – NS-update RFC 2136 between NS-update – BIND9 server Implementation-independent All relationships are many-to-many, e.g. One NS-update server – many OpenID identity providers One NS-update server – many DNS servers (one portal for many domains) Many NS-update servers – one DNS server (many portal for one domain) Sustainable and extensible

Registering hostnames Support multiple domains/subdomains Currently using subdomains from fedcloud.eu for testing Web portal with authentication via EGI CheckIn Just log in and register a hostname in an available domain Server will give error message if the hostname is occupied by other users See instruction/demo at the end of presentation

Assigning/updating IPs Each registered hostname has its own secret (password) Once hostname is registered, no user credential is needed for assigning/updating IP address No user credential stored on VMs, just hostname and its own secret Very simple usage Common DDNS clients available in Linux Configuration files generated by NS-update server, just copy/paste For VMs, in most cases, it is enough to add the following command to cloud-init script “curl https://HOSTNAME:SECRET@nsupdate.fedcloud.eu/nic/update”

Current status Please check up-to-date status on wiki https://wiki.egi.eu/wiki/Dynamic_DNS Available functionalities: testing domain fedcloud.eu for EGI FedCloud users DNS servers setup for fedcloud.eu NS-update server deployed at https://nsupdate.fedcloud.eu/ Authentication via EGI CheckIn service Hostname registration via NS-update portal IP assign/update via portal or common DDNS clients

Usage instructions Just log into portal https://nsupdate.fedcloud.eu/ and follow the menu. Some screenshots are included at the end of this presentation. Typical scenario: Log into portal via EGI CheckIn (see screenshot 1 after this page) Go to “Overview” menu and click “Add host” (screenshot 2) Choose hostname, domain then “Create” (screenshot 3) Roll down and copy the update URL (screenshot 5). Note the update URL somewhere for later use Click to “Overview” again to see the new host and its IP (should be IP of your computer now) (screenshot 6). Log into your VM, run command curl with the noted update URL (from step 4) Click to “Overview” again to see the new host and its IP change to IP of your VM Try ping or ssh with the hostname to see if the IP is correctly updated to your VM Assign the hostname to your VM automatically at start by adding “curl update_URL” command into cloud-init script

Notes If you get an error message when logging into NS-update server via EGI CheckIn, your browser may have expired token It is problem of token in browser, not portal Just open this link https://aai-dev.egi.eu/oidc/saml/login in your browser to refresh the token or restart your browser and log in again NS-update server uses HTTPS protocol, hostname/secret are encrypted as data during transfer so it is secure to use the URL Portal does not store host secret in recoverable form. If you forget the host secret, you can generate new one Hostnames/IP addresses are not expired: No need to refresh IP addresses if no changes, it is enough to run once In most cases, it is enough to add the following command to cloud-init “curl https://HOSTNAME:SECRET@nsupdate.fedcloud.eu/nic/update” to assign hostname automatically at VM start MS Windows tend to cache and remember DNS locally for longer time Try to check IP address of the hostname (host, ssh, ping commands) on Linux or flush DNS cache (“ipconfig /flushdns” with admin account)

Screenshot – login to portal

Screenshot-overview after login

Screenshot – register new hostname

Screenshot-new hostname registered

Screenshot – instructions for updating IPs

Screenshot – overview with new hostname

Screenshot: Edit host