pipeline.py: support amazonaws.com