Fixed for v3.0.x branch

Backporting security groups, fixing versioning in examples