DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Deploying OpenDaylight in AWS

Deploying OpenDaylight in AWS

OpenDaylight is easy enough to get set up in AWS, although you'll need to incorporate a few other assets like OpenJDK to get its features working just how you want them.

Rathinasabapathy Arumugam user avatar by
Rathinasabapathy Arumugam
·
Apr. 20, 17 · Tutorial
Like (2)
Save
Tweet
Share
4.21K Views

Join the DZone community and get the full member experience.

Join For Free

OpenDaylight (ODL) is an open source platform uniting the industry around a common SDN platform. ODL provides a flexible, common platform underpinning a wide breadth of applications and use cases, used as an SDN controller in on-premises setups. This blog outlines the steps to deploy OpenDaylight in AWS for training, exploration, and development purposes.

Provision a VM in AWS

  1. Create a security group (ODL-SG) and open Port 22, 8080.
  2. Create a Keypair.
  3. Launch an AWS EC2 instance using AMI (ami-efe09bf8 – Ubuntu 16.04 64-Bit) in the Virginia Region with the instance type T2.medium.
  4. Allocate an elastic IP.
  5. Associate the elastic IP to the VM.

Deploy OpenDaylight

  1. Access the VM using a terminal client
  2. OpenDaylight Controller is developed in Java and runs in a JVM. Hence we need to Install OpenJDK using the command: $ apt-get install openjdk-8-jdk
  3. Download the OpenDaylight Boron package from the distribution page.
  4. $ wget
    https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/distribution-karaf/0.5.3-Boron- SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz


  5. Install OpenDaylight. Uncompress it as root, and start OpenDaylight using the command:
  6. $ tar xvfz distribution-karaf-0.5.3-Boron-SR3.tar.gz
    $ cd distribution-karaf-0.5.3-Boron-SR3/
    $ ./bin/start 


    The start process will take a minimum of 3-5 minutes complete.

  7. Connect to Karaf Shell ($ ./bin/client). Now, you should be in OpenDaylight’s console. By default, the Karaf distribution has no features enabled. Hence we have to install all the basic and required features as below:
  8. opendaylight-user@root $> feature:install odl-base-all odl-aaa-authn odl-restconf
    odl-nsf-all
    odl-adsal-northbound odl-mdsal-apidocs odl-ovsdb-openstack 
    odl-ovsdb-northbound odldlux-
    Core 


    Once the installation is completed, you can log into the UI at http://:8080 with the username and password as ‘admin’. Now, the OpenDaylight Boron release is successfully installed in the VM instance.

  9. Mininet Installation
  10. $ apt-get update
    $ apt-get install mininet 


AWS

Published at DZone with permission of Rathinasabapathy Arumugam, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Stop Using Spring Profiles Per Environment
  • Custom Validators in Quarkus
  • What Are the Benefits of Java Module With Example
  • Real-Time Analytics for IoT

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: