class AwsEC2Platform extends Platform implements SshBasedExperiment<AwsEC2Container> {

    String getVpcIdOfContainer (String instanceId) {
        return amazonEC2.describeInstances(new DescribeInstancesRequest().withInstanceIds(instanceId))
                        .getReservations()
                        .stream()
                        .map(Reservation::getInstances)
                        .flatMap(Collection::stream)
                        .peek(instance -> log.info("Lookup of VPCs for Instance {} shows {}", instanceId, instance.getVpcId()))
                        .findFirst().orElseThrow(NO_INSTANCES_RETURNED.asChaosException())
                        .getVpcId();
    }

    @Autowired  AwsEC2Platform(AmazonEC2 amazonEC2, ContainerManager containerManager, AwsEC2SelfAwareness awsEC2SelfAwareness);
    private  AwsEC2Platform();

}