Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Presented By:
Date:
Cost Efficient, Auto Scaling Continuous
Integration with Amazon AWS Cloud
Mateusz Zając @ Software Eng...
Introduction
Mateusz Zajac | Software Engineer | Kainos | DD: +48 58 333 71 42 | Skype: mateuszza@kainos.com
Introduction
Few Words About Continuous Integration
Few Words About Continuous Integration
Few Words About Continuous Integration
https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software
Few Words About Continuous Integration
https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software
Motivation
Motivation
Motivation
Motivation
Motivation
Auto Scaling Concept
Table of Content How To
Creating Amazon AWS instance
Installing TeamCity
Basic TeamCity Configuration
Creating Agents
Scal...
Creating Amazon AWS instance
Amazon offers 750h of free t2.micro instace so you can prototype yourself! I encourage you!
O...
Installing TeamCity
$ sudo apt-get install openjdk-7-jdk
Login to the newly create AWS instance
Download TC from https://w...
Basic TeamCity Configuration
Creating Agents
Once you setup your key pair for login and Security groups you are ready to setup the
instance with Team C...
Creating Agents
Configure the build.properties for the agent
$ cp ./conf/buildAgent.dist.properties ./conf/buildAgent.prop...
Scaling Agents
Scaling Agents
Scaling Agents
Fill up the queue with dummy project runs
Conclusions
Further down the road
Further down the road
m3.xlarge 4 13 15 2 x 40 SSD
$0.266 per
Hour
vCPU ECU
Memory
(GiB)
Instance
Storage
(GB)
Linux/UNIX
...
Further down the road
Further down the road
Conclusions
Conclusions
Spot Instances
Amazon EC2 Spot Instances
Amazon EC2 Spot instances are spare EC2 instances that you can bid on to run
your...
Motivation
Motivation
Q&A & Thank you
Upcoming SlideShare
Loading in …5
×

Mateusz Zając - Continuous Integration i jej skalowalność w oparciu o TeamCity w połączeniu z Amazon AWS Cloud

389 views

Published on

Trójmiejska Grupa Testerska #7

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Mateusz Zając - Continuous Integration i jej skalowalność w oparciu o TeamCity w połączeniu z Amazon AWS Cloud

  1. 1. Presented By: Date: Cost Efficient, Auto Scaling Continuous Integration with Amazon AWS Cloud Mateusz Zając @ Software Engineer SMART 2015-10-18
  2. 2. Introduction Mateusz Zajac | Software Engineer | Kainos | DD: +48 58 333 71 42 | Skype: mateuszza@kainos.com
  3. 3. Introduction
  4. 4. Few Words About Continuous Integration
  5. 5. Few Words About Continuous Integration
  6. 6. Few Words About Continuous Integration https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software
  7. 7. Few Words About Continuous Integration https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software
  8. 8. Motivation
  9. 9. Motivation
  10. 10. Motivation
  11. 11. Motivation
  12. 12. Motivation
  13. 13. Auto Scaling Concept
  14. 14. Table of Content How To Creating Amazon AWS instance Installing TeamCity Basic TeamCity Configuration Creating Agents Scaling Agents Conclusions
  15. 15. Creating Amazon AWS instance Amazon offers 750h of free t2.micro instace so you can prototype yourself! I encourage you! Once you setup your key pair for login and Security groups you are ready to setup the instance with Team City. Pre requisites: Unzip, java jdk7
  16. 16. Installing TeamCity $ sudo apt-get install openjdk-7-jdk Login to the newly create AWS instance Download TC from https://www.jetbrains.com/teamcity/download/ $ tar xvzf TeamCity-9.1.3.tar.gz $ ./TeamCity/bin/runAll.sh start Go to the <serverip/domain>:8111 and configure your administrator account Job done
  17. 17. Basic TeamCity Configuration
  18. 18. Creating Agents Once you setup your key pair for login and Security groups you are ready to setup the instance with Team City. Pre requisites: Unzip, java jdk7 Download the zip file to the agent. Unzip it $ unzip buildAgent.zip $ chmod +x ./bin/agent.sh start
  19. 19. Creating Agents Configure the build.properties for the agent $ cp ./conf/buildAgent.dist.properties ./conf/buildAgent.properties $ vim ./conf/buildAgent.properties Setup the serverURL with your TC Web App address Add agent to boot $ vim /etc/rc.local Add a line: <path to where you unpacked zip>/bin/agent.sh start
  20. 20. Scaling Agents
  21. 21. Scaling Agents
  22. 22. Scaling Agents Fill up the queue with dummy project runs
  23. 23. Conclusions
  24. 24. Further down the road
  25. 25. Further down the road m3.xlarge 4 13 15 2 x 40 SSD $0.266 per Hour vCPU ECU Memory (GiB) Instance Storage (GB) Linux/UNIX Usage
  26. 26. Further down the road
  27. 27. Further down the road
  28. 28. Conclusions
  29. 29. Conclusions
  30. 30. Spot Instances Amazon EC2 Spot Instances Amazon EC2 Spot instances are spare EC2 instances that you can bid on to run your cloud computing applications. Since Spot instances are often available at a lower price, you can significantly reduce the cost of running your applications, grow your application’s compute capacity and throughput for the same budget, and enable new types of cloud computing applications. Benefits Get the Best Value for Amazon EC2 Capacity Spot instances run when your bid price exceeds the Spot price, and provide the reliability, security, performance, control, and elasticity of Amazon EC2, at low market-driven prices. Reduce Operating Costs Reduce your operating costs by up to 50-90% with Spot, compared to On-Demand instances. To see the current prices, visit the Spot Pricing page. Improve Application Throughput You can run and scale applications such as stateless web services, image rendering, big data analytics and massively parallel computations on Spot instances. Since Spot instances typically costs 50-90% less, you can increase your compute capacity by 2-10x within the same budget.
  31. 31. Motivation
  32. 32. Motivation
  33. 33. Q&A & Thank you

×