The AWS ElasticBeanstalk Multicontainer Docker Configuration is build upon ECS (AWS Elastic Container Service). Usually you can configure the network mode in an ECS Task Def