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 Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Build a GitHub Slack Bot With AWS Bedrock and MCP, Part 2
  • Compliance Automated Standard Solution (COMPASS), Part 11: Compliance as Code, the OSCAL MCP Server Way
  • Build a GitHub Slack Bot With AWS Bedrock and MCP, Part 1
  • AWS Managed Database Observability: Monitoring DynamoDB, ElastiCache, and Redshift Beyond CloudWatch

Trending

  • Integrating AI-Driven Decision-Making in Agile Frameworks: A Deep Dive into Real-World Applications and Challenges
  • A Comprehensive Guide to Prompt Engineering
  • AI-Driven Integration in Large-Scale Agile Environments
  • Architecting an Embedded Efficiency Layer: A Platform Deep Dive into Day-Two Operational Tuning
  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.

By 
Rathinasabapathy Arumugam user avatar
Rathinasabapathy Arumugam
·
Apr. 20, 17 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
5.0K 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. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Build a GitHub Slack Bot With AWS Bedrock and MCP, Part 2
  • Compliance Automated Standard Solution (COMPASS), Part 11: Compliance as Code, the OSCAL MCP Server Way
  • Build a GitHub Slack Bot With AWS Bedrock and MCP, Part 1
  • AWS Managed Database Observability: Monitoring DynamoDB, ElastiCache, and Redshift Beyond CloudWatch

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook