TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AWS CodeBuild – Build and test code with continuous scaling

126 pointsby Trisellover 8 years ago

19 comments

St-Clockover 8 years ago
I&#x27;m trying to find if they offer or plan to offer these features:<p>1. Caching. CircleCI and Travis cache intermediate build artifacts (e.g., virtualenv in python) to reduce build time.<p>2. Github pull request integration (red cross on pull requests if the build fails).<p>3. Chat integration. Sending a message to slack or hipchat when the build fails.<p>4. SSH into build container. Very handy for rare but difficult to locally reproduce build bugs.<p>Interesting offer though. We found that we would pay less than 5$ a month for our build needs and they would run concurrently.
评论 #13084363 未加载
评论 #13082314 未加载
评论 #13081777 未加载
debaserab2over 8 years ago
How many different CI workflow tools are on AWS these days? How do I know which one to pick? I really wish Amazon would spend some time building comparison guides for their services. Each one feels very silo&#x27;d off from each other and the crossover in functionality seems very high.
评论 #13084627 未加载
评论 #13084540 未加载
luhnover 8 years ago
I&#x27;m excited about what this means for Lambda. Building Lambda packages has always been a pain because much of the time it needs to be built on Amazon Linux to work, meaning most (all?) CI SaaS solutions are out the window. I assume CodeBuild will run Amazon Linux and CodePipeline integrates with Lambda, so this should make setting up continuous deployment with Lambda much easier.
评论 #13083921 未加载
saurikover 8 years ago
When I saw this I got super excited because I thought it was going to be &quot;per-minute low-latency distcc hosts&quot; which was probably set up by having a ton of common toolchains ready to go at all times, and my big questions were &quot;did they bother to support MinGW (easy)&quot; and &quot;do they have a reasonable story for iOS (though I can&#x27;t imagine they have armv6 working right)&quot;, but while they got my hopes up when they said one could even upload custom toolchains I realized that didn&#x27;t make much sense and a few paragraphs later I got the disappointing news that this is just some extremely thin wrapper over ECS that is limited to doing builds on single computers which max out at 8 vCPU (why?!). I mean, I guess this makes CI slightly more accessible to some people, but it isn&#x27;t anything terribly exciting and is mostly going to help people with extremely small projects: this isn&#x27;t going to scale up to the kinds of builds where you&#x27;d expect a service billing itself on scalability to be most valuable.<p>...Except for this part: <i>CloudBuild has per-minute billing</i>!! This is one of the major complaints people have about EC2 (and all the services Amazon builds over it), and is one of the major downsides of using it over Google&#x27;s Compute Engine. If you have any kind of task that can possibly be thought of as a &quot;build&quot;--one which can be expressed as a container of software configured to access some external asset as input and which generates a concrete output &quot;artifact&quot; (and maybe even not, right? to support some silly things people do in their builds like &quot;check out code from npm&quot;, you likely get network access, and your build output could always be an empty file)--this now seems like a depressingly hilarious way to trick Amazon&#x27;s infrastructure into giving you per-minute billing for random tasks which take less than 20 minutes to run (important limit, as they are charging a 3x overhead vs the on demand price for an equivalent instance: for 8 vCPU &#x2F; 15 GB instance, a c4.2xlarge costs $0.419 per hour and a build.general1.large costs $.02 per minute, which would be $1.20 per hour).<p>In other words: I will argue that this service really can and maybe should just be looked at as a different pricing model for ECS, to support any &quot;small&quot; task (not just building code): if it takes less than 20 minutes and doesn&#x27;t require a massive computer, CodeBuild is not only cheaper but probably easier to use (as it already models the problem in terms of a task queue, so you don&#x27;t have to do that part either).
nzoschkeover 8 years ago
This is really exciting. The lack of a build service has been apparent for a while: <a href="https:&#x2F;&#x2F;convox.com&#x2F;blog&#x2F;aws-missing-build-service&#x2F;" rel="nofollow">https:&#x2F;&#x2F;convox.com&#x2F;blog&#x2F;aws-missing-build-service&#x2F;</a><p>I wrote up how we plan to use this in the Convox platform here: <a href="https:&#x2F;&#x2F;convox.com&#x2F;blog&#x2F;codebuild&#x2F;" rel="nofollow">https:&#x2F;&#x2F;convox.com&#x2F;blog&#x2F;codebuild&#x2F;</a><p>Practically speaking, we&#x27;re working through PCI compliance. Getting builds off of production services and root-enabled docker daemons is a huge win.
AtticusTheGreatover 8 years ago
As someone who has had to shop around and try out a bunch of continuous integration services (Travis, CircleCI, Snap, Solano, to name a few), this looks pretty interesting! We&#x27;ve stayed away from managing our own CI infrastructure but this could be a good (and cheaper) solution. It doesn&#x27;t seem to actually be available yet, but it&#x27;ll be worth a look.
redgcover 8 years ago
As it sounds like it&#x27;s running inside Docker itself, I&#x27;d like to know if this supports &quot;Docker in Docker&quot;. My requirement is not strictly DinD however I run multiple containers during CI (Postgres, node, test containers, etc). Possible via different approaches in CircleCI, Shippable and SemaphoreCI. I don&#x27;t actually build any containers to save.
评论 #13082040 未加载
msieover 8 years ago
What&#x27;s frustrating is if you go to the aws reinvent page they tell you a lot except the dates of the conference!!! <a href="https:&#x2F;&#x2F;reinvent.awsevents.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;reinvent.awsevents.com&#x2F;</a> I was wondering why all these aws announcements were here.
评论 #13081994 未加载
brazzledazzleover 8 years ago
At any time someone can show up to eat your lunch but if you&#x27;re developing software for operations or developers it seems like a scary space to be in. AWS has a huge advantage by being able to simply add a service to their existing catalog.
评论 #13082473 未加载
bloomarkover 8 years ago
<a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;aws-codebuild-fully-managed-build-service&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;aws-codebuild-fully-managed...</a>
评论 #13081861 未加载
Malkavover 8 years ago
Gave it a try, seems to be kinda slow building docker images. An image that take 2 minutes in my machine is taking around 10 minutes in CodeBuild. The build seems to freeze a little between docker build steps :<p>--- Example 1 ---<p>[Container] 2016&#x2F;12&#x2F;01 22:39:59 Step 9 : EXPOSE 3000<p>[Container] 2016&#x2F;12&#x2F;01 22:40:31 ---&gt; Running in 1c6e3a4dbec8<p>[Container] 2016&#x2F;12&#x2F;01 22:40:45 ---&gt; 602aa4bc97ac<p>-----------------<p>--- Example 2 ---<p>[Container] 2016&#x2F;12&#x2F;01 22:36:00 Step 4 : WORKDIR &#x2F;src<p>[Container] 2016&#x2F;12&#x2F;01 22:36:32 ---&gt; Running in 98800352e6c2<p>[Container] 2016&#x2F;12&#x2F;01 22:36:45 ---&gt; b437afe2a1c5<p>-----------------<p>Not sure if this caused by the fact its a docker inside docker implementation.
davecap1over 8 years ago
This sounds a bit like BuildKite which has worked out pretty well for us! They provide an elastic AWS CI environment that you run in your own AWS account, and scales up&#x2F;down as builds are queued up.
ianceicysover 8 years ago
I really wish AWS CodeBuild supported .net\C# as a preconfigured environment. Hopefully .net is not too far down on their priority list...right now we are using Jenkins.
评论 #13083422 未加载
STRMLover 8 years ago
Seems pretty nice. A few things I&#x27;d like to see:<p>1. We should be able to configure this for a few&#x2F;all branches (including PRs) and have conditional build tasks based on branch.<p>2. We need be able to access resources inside a VPC.<p>3. Turnkey chat integrations would be nice, but it&#x27;s not a big deal to just curl.<p>4. We need a way to execute actions on failure.
评论 #13090126 未加载
评论 #13088080 未加载
评论 #13085130 未加载
mesozoicover 8 years ago
FAQ says this. Is there any examples on setting it up? It isn&#x27;t obvious from inside CodePipeline.<p>Yes. The CodePipeline Plugin for Jenkins can be used to integrate CodeBuild into Jenkins jobs. The build jobs are sent to CodeBuild, eliminating the need for provisioning and managing the Jenkins worker nodes.
btashtonover 8 years ago
Still no way to build iOS applications.
评论 #13081490 未加载
评论 #13127160 未加载
评论 #13083436 未加载
crb002over 8 years ago
This is AWS FatLambda. You provide a full container image instead of just a zip file.
callumjonesover 8 years ago
Does it support parallel builds?
评论 #13082454 未加载
sidcoolover 8 years ago
How does this compare with Amazon CodeDeploy?
评论 #13081864 未加载
评论 #13081721 未加载