AWS Direct Connect and VPCs allow for a fully private and stable backhaul between your private assets and cloud services without the need for significant encryption, tunneling, or other methods. While these components can be created on the fly with an API, the network component itself cannot. Megaport demonstrates a method of creating the network components in tandem with your AWS components so that the full solution is created in a single API call to a group of endpoints.
Orchestrating Network with Web Services Session Sponsored by Megaport – Cameron Daniel, Founding Engineer, Megaport
1. Network Orchestration
with Web Services
Examples on how to use network API’s to activate and manage
connections in tandem with AWS compute, storage, and other
scaled services
Presented by Cameron Daniel, Founding Engineer
2. Who Is Megaport?
Software-based network service provider
Private and dedicated network services that
can be scaled in real time
Utility-based pricing model with flexible
terms
Integration with VPC via an instant virtual
interface (no need to order DX port)
3. Typical EC2 Environment
▪ Does not take hybrid scenarios into account
▪ Internet access is costly for scaling
4. Scaling your networks
▪ Start off small
▪ If you don’t need it, turn it back down
Elastic Connection
As much or as little as
you need…
▪ If you need more scale up in real time
8. Scaling Resources
uri = URI.join("https://api.megaport.com/secure/
technicalservice/vxc" +
"?token=#{session_token}" +
"&jServiceId=#{j_service}" +
"&nServiceId=#{n_service}" +
"&speed=1000"
)
response = Net::HTTP.get_response(uri)
instance = ec2.instances.create(
:image_id => 'ami-11d68a54',
:instance_type => 'c4.large',
:count => 1,
:security_groups => 'sec-public-web',
:key_pair => ec2.key_pairs['chef-new']
)
AWS has an API to scale the compute and storage
Megaport has an API to scale the network
13. If the Network was a service...
▪ Build the network API into your apps
▪ Scale based on requirements
https://developer.megaport.com
14. Conclusion
Infrastructure as code works well for compute and storage resources
Infrastructure also includes network resources
Scale the network along with applications and compute
Look for opportunities to use API’s with a network service provider