Sending Calendar Invites on SES and Calendarsnack.pdf
java in cloud - adopt cloud dev's DHARMA
1. Java in Cloud
— adopt Cloud Dev’s DHARMA
Hochi Chuang
Sr Backend Engineer
Here2Shop.com
2. About me
• Experiences
• Java experience - J2SE, Android, JEE
• Automation
• DevOps
• Here2Shop.com
• High volume eCommerce platform
• B2B2C - platform for both vendors and consumers
• Small team with demonstrated ideas/skills to achieve big dream!!
• We’re HIRING!!! —> send your resume to hochi.chuang@here2shop.com
6. Why Java?
• Our goal
• Going BIG!! — proven
• Flawless — mature & conventions
• Fully automated — perfect integrated with Jenkins
• Lots of resources & community support
• Utilise AWS services to let us focus on core business
implementations
8. Before You Go
• AWS — tips should know before I started
• VPC
• Security groups
• Disable SSH to all servers
• Use AWS SDK for Java
• Centralised logs
• Automates everything
• IAM for access control
9. DHARMA
• Documented
• Everything related to development process — Redmine wiki
• Instructions for newbie
• Development process — DO and DON’T
• Coding conventions, code formatting, Eclipse settings
• Environment setup, tools installation
• CI and release cycle
11. DHARMA
• Highly cohesive/loosely coupled
• Class level
• Single responsibility / interfaces
• Component level
• Divided by data stores / RESTful APIs
12. DHARMA
• Automated from commit to cloud
• Jenkins!!
• Each commit — build + unit test
• Daily build — build + unit / api / gui test
• Deploy to Dev or Staging by promoting the build
• UAT on staging —> promote to production