The Subnet Blog

Developing on AWS Resources

AWS Infrastructure

AWS Foundation Services

Developer Tool Resources for AWS

AWS Local Development and Testing

Developer IAM Resources

S3 Resources

Dynamo DB Resources

Lambda

Read more →

My User Data Recipe for an AWS EC2 Instance launched with Docker

I’m using an Ubuntu server instance on EC2 and run the below script as user data on initial launch . . . .

I need to manually update the Docker compose URL/version in the script below – – Still need to figure out how to automate that.

User Data to launch Ubuntu instance with Docker installed

#!/bin/bash
# Install docker
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
apt-get update
apt-get install -y docker-ce
usermod -aG docker ubuntu

# Install docker-compose
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

# READ MORE: https://docs.docker.com/install/linux/docker-ce/ubuntu/
# To check: grep "cloud-init\[" /var/log/syslog
#       OR: less /var/log/cloud-init-output.log

# Manually add user to docker group
# sudo usermod -aG docker $USER
Read more →

AWS SysOps End Of Class Reference and Links

Resources for Module 1

ARTICLES/DOCS

Resources for Module 2a

ARTICLES/DOCS

VIDEOS

Resources for Module 2b

ARTICLES/DOCS

Resources for Module 3

ARTICLES/DOCS

VIDEOS

Resources for Module 4

ARTICLES/DOCS

Resources for Module 5

ARTICLES/DOCS

Resources for Module 6a

ARTICLES/DOCS

Resources for Module 6b

ARTICLES/DOCS

VIDEOS

Resources for Module 7

ARTICLES/DOCS

Resources for Module 8

ARTICLES/DOCS

Resources for Module 9

ARTICLES/DOCS

Resources for Module 10a

ARTICLES/DOCS

Resources for Module 10b

ARTICLES/DOCS

Resources for Module 11

ARTICLES/DOCS

VIDEOS

Resources for Module 12

ARTICLES/DOCS

Read more →

360 vr photo test

Read more →

Cisco ACUCW2 End of Class Links

Cisco Unified Communications Solutions Network Design Document
http:\\www.cisco.com\go\srnd

Unified Communications Manager Features Guide

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmfeat/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100.html

CUCM Maintain and Operate Guides

http://www.cisco.com/c/en/us/support/unified-communications/unified-communications-manager-callmanager/products-maintenance-guides-list.html

Jabber Config File Generator

https://supportforums.cisco.com/document/106926/jabber-config-file-generator

How to setup PLAR

https://www.cisco.com/c/en/us/support/docs/unified-communications/unified-communications-manager-callmanager/212073-CUCM-PLAR-Configuration-Example.html

Read more →

Cisco CLACCM end of class links

After each class I teach I provide my students with online resources to documentation surrounding topics for the class. These are my links for Implementing Cisco Advanced Call Control and Mobility

Cisco Unified Communications Resources

SRNDs

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/uc_system/design/guides/UCgoList.html

Features Guide

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmfeat/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100.html

CUCM Admin Guide

http://www.cisco.com/c/en/us/support/unified-communications/unified-communications-manager-callmanager/products-maintenance-guides-list.html

ata admin guide

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cata/190/1_0/english/administration/guide/sip/ATA190.html

Change Background Images on IP Phones

https://supportforums.cisco.com/document/44191/how-modifychange-background-image-ip-phone-new

Voice Translation Rules
https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

Self Provisioning

Jabber Setup

https://supportforums.cisco.com/document/106926/jabber-config-file-generator

Direct Transfer to voicemail

PLAR

https://www.cisco.com/c/en/us/support/docs/unified-communications/unified-communications-manager-callmanager/212073-CUCM-PLAR-Configuration-Example.html

Audit Logs on CUCM
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/11_5_1/Admin/CUCM_BK_CEF360A6_00_cisco-unified-serviceability-admin-guide_1151/CUCM_BK_CEF360A6_00_cisco-unified-serviceability-admin-guide_1151_chapter_01001.pdf

Other Helpful Links

Configuring MLPP

https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/12_0_1/systemConfig/cucm_b_system-configuration-guide-1201/cucm_b_system-configuration-guide-1201_chapter_01010100.html

Read more →

Python for Network Engineer resources end of course links

Python – Python.org
Good Book on Python Basics – Python Crash Course – amazon link 
https://www.amazon.com/Python-Crash-Course-Hands-Project-Based/dp/1593279280
Cisco DevNet – http://developer.cisco.com
Automate the boring Stuff – Great free Python Reference

Python Style Guide – https://www.python.org/dev/peps/pep-0008/
Jason Validator jsonlint.com 
XML Validator https://www.xmlvalidation.com/
YANG Validator – yangvalidator.com

Great Free Video course on Network Programmability from Cisco 
https://developer.cisco.com/video/net-prog-basics/

Good example of how to parse a JSON File:
https://stackoverflow.com/questions/2835559/parsing-values-from-a-json-file

Free Lab to Parse JSON with Python:
https://developer.cisco.com/learning/login?refLink=%252Flab%252Fcoding-202-parsing-json%252Fstep%252F1

NX-OS API Reference for Python

https://developer.cisco.com/docs/nx-os/#!cisco-nexus-9000-series-python-sdk-user-guide-and-api-reference/about-the-python-programming-language

Example Script to add CDP Neighbor to description of interfaces
https://github.com/datacenter/nexus7000/blob/master/cdp_description.py

Nexus Link Monitor Example Script
https://github.com/datacenter/nexus7000/blob/master/link_monitor_nexus7000.py

Setup the ASA Rest API

https://www.cisco.com/c/en/us/td/docs/security/asa/api/qsg-asa-api.html

IOS XE Programmability guide

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg.html

Netmiko Tutorial
https://hub.packtpub.com/using-python-automation-to-interact-with-network-devices-tutorial/
Utilities 
PyCharm https://www.jetbrains.com/pycharm-edu/download/
Notepad++ https://notepad-plus-plus.org/
Sublime https://www.sublimetext.com
Postman https://www.getpostman.com/apps

Podcast
https://talkpython.fm/

Fun Python Hardware for around $100
https://openmv.io
https://www.ryzerobotics.com/tello-edu

Read more →

Cisco CLCOR End of Course Links

Cisco Unified Communications  Resources

SRNDs

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/uc_system/design/guides/UCgoList.html

Voice Translation Rules
https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

TranslatorX
http://Translatorx.org

Codec Values
https://en.wikipedia.org/wiki/RTP_audio_video_profile

CUBE Configuration Examples

https://www.cisco.com/c/en/us/support/unified-communications/unified-border-element/products-configuration-examples-list.html

CUBE Verified Interoperability Configurations

https://www.cisco.com/c/en/us/solutions/enterprise/interoperability-portal/networking_solutions_products_genericcontent0900aecd805bd13d.html

From Cisco Live: https://ciscolive.cisco.com/on-demand-library/

    BRKUCC-2932 Troubleshooting SIP with Unified communications

    BRKCOL-2455 Fixing SIP Problems with UC Manager & CUBE Normalization Tools

Sip Debugging

Commands – https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271

Sip Trace – https://community.cisco.com/t5/collaboration-voice-and-video/understanding-sip-traces/ta-p/3137704

Sip Debug output filtering

http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_–_SIP_Debug_Output_Filtering_Support

Read more →

Cisco VII End of Course Links

These are links to Cisco Documents that I share with my students for deeper reference after they finish the Cisco VII Course

VII Class Resources
 

Videos on setting up Spark Hybrid

Cisco Expressways Series Guides

https://www.cisco.com/c/en/us/support/unified-communications/expressway-series/products-installation-and-configuration-guides-list.html

Cisco Meeting Server Links

https://www.cisco.com/c/en/us/support/conferencing/meeting-server/products-programming-reference-guides-list.html

Cisco Meeting Management for CMS
https://www.cisco.com/c/en/us/support/conferencing/meeting-management/products-installation-guides-list.html

Setting Up Cisco Mobile Remote Access

Cisco TMS Administrator Guides

https://www.cisco.com/c/en/us/support/conferencing/telepresence-management-suite-tms/products-maintenance-guides-list.html



Cisco Unified Communications Resources

SRNDs

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/uc_system/design/guides/UCgoList.html

Features Guide

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmfeat/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100.html

https://www.cisco.com/c/en/us/support/unified-communications/expressway-series/products-installation-and-configuration-guides-list.html

Cisco Meeting Server Links

https://www.cisco.com/c/en/us/support/conferencing/meeting-server/products-programming-reference-guides-list.html

Cisco Meeting Management for CMS
https://www.cisco.com/c/en/us/support/conferencing/meeting-management/products-installation-guides-list.html

Setting Up Cisco Mobile Remote Access

Cisco TMS Administrator Guides

https://www.cisco.com/c/en/us/support/conferencing/telepresence-management-suite-tms/products-maintenance-guides-list.html



Cisco Unified Communications Resources

SRNDs

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/uc_system/design/guides/UCgoList.html

Features Guide

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmfeat/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100.html

Read more →

AWS – Architecture Exam Study Resources

These are links to AWS white papers and YouTube videos that I share with my students for deeper reference as they are getting ready for the AWS Solutions Architect Associate and Professional Exams.

AWS Architecture Videos

Transit Gateways from re:Invent
Read more →