Save 37% off PRO during our Black Friday Sale! »

AWS Cloud9 & CodeStar for Serverless Apps

AWS Cloud9 & CodeStar for Serverless Apps

Alex will go through the pros&cons of the newly announced AWS Cloud9 and its built-in integration with AWS CloudStar and AWS SAM. You'll learn about the motivations and a few "gotchas" about these tools and services.


Alex Casalboni

January 10, 2018


  1. AWS Cloud9 & CodeStar for Serverless Apps (AWS re:Invent

    recap teaser) 1/10/2018
  2. About Me @alex_casalboni Computer Science Background Master in Sound &

    Music Engineering Sr. SoEware Engineer & Web Developer Cloud Evangelist @ Cloud Academy
  3. Agenda “Serverless” disclaimer AWS Cloud9 AWS CodeStar AWS SAM

  4. Call for Speakers! Serverless Meetup

  5. “Serverless” disclaimer Qualcuno deve pur farlo…

  6. There is always a server somewhere,
 you just don't

    have to worry about it =)
  7. “A Serverless solu@on is one that costs you (almost)

    nothing to run if nobody is using it.” [cit. Paul Johnston] “Una soluzione è davvero Serverless solo se @ costa (quasi) zero quando nessuno la usa.” [cit. Paul Johnston]
  8. AWS Cloud9 (Acquired by AWS in Jul 2016)


  10. AWS Cloud9 Features Full-fledged IDE & Dev tools Cost-saving seLngs

    (hiberna:on) Integrated web terminal * (EC2 or SSH environment) Built-in Lambda support Live debugging capabiliSes (only Node.js for now) Collabora:ve coding/debugging * No SSH keys or IAM creden:als to configure locally (!) SAM-local integraSon (local tesSng & deployments)
  11. AWS Cloud9 Dev Tools AWS CLI (1.11), sam-local (0.2.4) git,

    gcc, c++, Docker (17.03) node (6.11.4), npm, nvm, coffeescript python (2.7.12 & 3.6.2), virtualenv, pip, pylint, boto3 PHP (5.6), MySQL (14.14), Apache (2.4) ruby (2.4.1), rails (5.1.4) Go (1.9.1) Java
  12. AWS Cloud9 Look&Feel

  13. AWS Cloud9 LimitaSons & “wishes” Max 20 env per user,

    100 per account Max 10 open env per user Max 8 members in each env EC2 instance maintenance is sSll on you (OS updates, etc.) No Python debugging No “offline” support Only SAM-focused Lacking AWS Console integraSon “Primi@ve" Lambda tesSng ⚡ (e.g. no event generaSon)
  14. AWS CodeStar “The Good, the Bad and the Ugly”





  19. AWS CodeStar Features 30+ project templates MulSple backends (Elas@c Beanstalk,

    EC2, Lambda) MulSple programming languages (C#, Java, JS, Python, PHP, Ruby) Customizable app dashboard Built-in source control & CI/CD (only CodeCommit and GitHub) Coding tools integraSons (Cloud9, Eclipse, VSCode, etc.) … and Frameworks (Express, Spring, Django, Flask, Spring, ASP.NET, Laravel, etc.) Team management & issue tracking (only JIRA and GitHub for now)
  20. AWS CodeStar Look&Feel (Dashboard)

  21. AWS CodeStar Look&Feel (Team)

  22. AWS CodeStar LimitaSons & “gotchas” Max 333 projects per account

    (?!) Max 10 projects per user Max 100 users per project Only owner/contributor/viewer permissions (no custom role) CodePipeline, CodeDeploy, and CloudForma:on under the hood AWS::CodeStar::SyncResources and AWS::CodeStar Transform Project templates are not customizable CodeStar auth != Cloud9 auth No support for federated users or temporary access credenSals
  23. AWS CodeStar + AWS Cloud9? Built-in integraSon * (git clone,

    IAM auth, etc.) * only if you use CodeCommit GitHub works too (manual setup) Pair programming enabler One independent env per app (per dev, or even shared) No cross-account magic (yet?) Deployments via CloudFormaSon (git push + CodePipeline) No automaSc users/permissions integraSon btw CodeStar & Cloud9
  24. AWS SAM “Serverless ApplicaIon Model”

  25. What is AWS SAM? “The goal of AWS

    SAM is to define a standard applicaSon model for serverless applicaSons.”
  26. In other (technical) words? AWS::Serverless Transform (CloudFormaSon) Special serverless

    resources (e.g. AWS::Serverless::Func:on) Prepy similar to Serverless Framework’s syntax (yaml) NaSvely supported by AWS SAM Local (
  27. AWS SAM Example (FuncSon) (plus policies, VCP config, DLQ,

    tracing, etc.)
  28. AWS SAM Example (Traffic ShiEing) (plus alarms & pre/post-traffic

  29. AWS SAM Example (DynamoDB)

  30. AWS SAM Example (API Gateway) (plus cache, stage variables,

  31. AWS SAM Example (FuncSon+API)

  32. My Personal “wishes” for AWS SAM More transparency (make it

    public, or even customizable?) Custom Transforms (endless possibiliSes!)
  33. Grazie =) Domande? 1/10/2018