# How to configure several services in the serverless.yml

**URL:** <https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [December 27, 2017, 4:57pm UTC](https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390 "2017-12-27T16:57:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saniddha](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@saniddha](https://forum.serverless.com/u/saniddha)\
**Post date:** [December 27, 2017, 4:57pm UTC](https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390/1 "2017-12-27T16:57:26Z")

</div>

I want to add several services to the same serverless.yml. How can i do it?

---

<div class="post-metadata">

**Author:** ![carlosaln](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/carlosaln/32/474_2.png) [@carlosaln](https://forum.serverless.com/u/carlosaln)\
**Post date:** [December 27, 2017, 5:09pm UTC](https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390/2 "2017-12-27T17:09:16Z")

</div>

Doesn’t sound like you can.

AFAIK, Serverless is built with a microservices approach in mind, so it is expected that you build a separate serverless.yml for each service.

---

<div class="post-metadata">

**Author:** ![saniddha](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@saniddha](https://forum.serverless.com/u/saniddha)\
**Post date:** [December 27, 2017, 5:42pm UTC](https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390/3 "2017-12-27T17:42:05Z")

</div>

Thanks for the answer  
So in deployment process we have to deploy each service separately?

---

<div class="post-metadata">

**Author:** ![buggy](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/buggy/32/177_2.png) [@buggy](https://forum.serverless.com/u/buggy)\
**Post date:** [December 28, 2017, 12:28am UTC](https://forum.serverless.com/t/how-to-configure-several-services-in-the-serverless-yml/3390/4 "2017-12-28T00:28:42Z")

</div>

Typically you have one service per Serverless project. Each service should be independent and deployed on its own.

For small projects you may find it easier to have one Serverless project with everything in it. If that’s the case then you could use the folder structure to keep your code separate but you’ll still have a single serverless.yml.
