Code Pipeline

0

So we have at least 60 projects and if we wanted to do CI/CD would we create service roles for EACH one of those projects or just one service role for the CI/CD to use to create and make stuff?

Every example seems to have a single project and not a use case for a larger company.

질문됨 5년 전276회 조회
4개 답변
0

Hello!

If all the pipelines are in the same account, then you can re-use the same pipeline role for all of them, no problem!

Matthew

Edit: You can also re-use the artifact bucket as well :)

Edited by: mattsainsaws on Feb 19, 2019 2:44 PM

답변함 5년 전
0

The security folks would like us NOT to reuse roles and have separation of security for each project. Just wonder is that really what dev shops are doing?

답변함 5년 전
0

Well, you can create separate roles for each pipeline too, if you prefer. I would recommend using CloudFormation if you have that number of pipelines because it would be quite arduous to create them all manually.

Personally I would create a new role per pipeline that has just enough permissions to do what it needs. Although pipelines tend to have quite broad permissions in general so it's important to make sure only the codepipeline principal can assume them.

I spoke to a colleague who speaks to a lot of CodePipeline customers, and he said that enterprise customers tend to have an automated process for creating pipelines (eg., CloudFormation or some custom tool) and that process creates a separate pipeline role (and sometimes even account) for that pipeline. Hopefully that gives you some ideas on how to create lots of pipelines in a secure way.

답변함 5년 전
0

Thank you so much !

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠