autoscaling

Elastic Load Balancing both internal and internet-facing

拜拜、爱过 提交于 2019-12-29 06:05:55
问题 We are trying to use Elastic Load Balancing in AWS with auto-scaling so we can scale in and out as needed. Our application consists of several smaller applications, they are all on the same subnet and the same VPC. We want to put our ELB between one of our apps and the rest. Problem is we want the load balancer to be working both internally between different apps using an API and also internet-facing because our application still has some usage that should be done externally and not through

Elastic Load Balancing both internal and internet-facing

女生的网名这么多〃 提交于 2019-12-29 06:03:56
问题 We are trying to use Elastic Load Balancing in AWS with auto-scaling so we can scale in and out as needed. Our application consists of several smaller applications, they are all on the same subnet and the same VPC. We want to put our ELB between one of our apps and the rest. Problem is we want the load balancer to be working both internally between different apps using an API and also internet-facing because our application still has some usage that should be done externally and not through

android: auto-scaling textView in dialog

独自空忆成欢 提交于 2019-12-25 08:56:58
问题 I am trying to set the TextView to be auto scale inside the dialog, xml <com.abc.abc.AutoResizeTextView android:id="@+id/text_btn" android:layout_width="0dp" android:layout_height="fill_parent" android:layout_above="@+id/view2" android:layout_alignLeft="@+id/linear_layout_color1" android:layout_alignRight="@+id/linear_layout_color1" android:layout_alignTop="@+id/doodleView" android:layout_margin="1dp" android:background="@color/white" android:gravity="center" android:text="A" android

Google App Engine not autoscaling php

杀马特。学长 韩版系。学妹 提交于 2019-12-24 18:42:43
问题 I have a project running on App Engine, with PHP, and it's not autoscaling My app.yaml file: runtime: php api_version: '1.0' env: flexible threadsafe: true env_variables: APP_KEY: 'base64:*****' APP_LOG: errorlog CACHE_DRIVER: database DB_DATABASE: animes DB_HOST: localhost DB_PASSWORD: ****** DB_SOCKET: '/cloudsql/*******' DB_USERNAME: root SESSION_DRIVER: database STORAGE_DIR: /tmp automatic_scaling: min_num_instances: 2 max_num_instances: 20 cpu_utilization: target_utilization: 0.5 Can

Circular Dependency when using AWSEBAutoScalingGroup with CreationPolicy

倾然丶 夕夏残阳落幕 提交于 2019-12-24 18:33:49
问题 I'm trying to set up my Elastic Beanstalk environment to have an auto scaling group with a creation and update policy that waits for a signal from any new instances. Unfortunately I'm having issues getting this to work, and I believe it's because of a circular dependency. I have one config file in .ebextensions with the auto scaling configuration: Resources: AWSEBAutoScalingGroup: Type: AWS::AutoScaling::AutoScalingGroup Properties: HealthCheckType: ELB HealthCheckGracePeriod: 300

Monitor memory usage for auto scaling group

本小妞迷上赌 提交于 2019-12-24 13:09:30
问题 I have an auto scaling group of instances in Amazon cloud and I want to monitor some metrics across all instances in auto-scaling group. For example it would be nice to have a metric which reports the maximum memory usage across all instances that belong to the group. Thus I would have an opportunity to detect memleaks. I know that I can monitor a group via load balancer's metrics, but I don't have one and don't want to. Group metrics described on this page http://docs.aws.amazon.com/cli

How to set auto-scaling for kubernetes (both in same node and scale out) by using Azure Pipelines?

一世执手 提交于 2019-12-24 05:49:28
问题 I would like to set auto-scaling feature in Azure Pipelines for deployment of containers with Kubernetes. How can I do that if I want to auto-scaling by below rules: depeneds on no. of messages in ServiceBus message queue it will scale inside a node first (better to set maximum pods in node as it depends on thread no.?) if reach maximum pods in a node, then it will scale out to use another node (can scale to use maximum pods of node as well?i.e. 3 pods for 1 node, 6 pods for 2 nodes without

terraform autoscaling group destroy timeouts

試著忘記壹切 提交于 2019-12-23 22:36:37
问题 Is there any way to change the terraform default timeouts? For example on terraform apply I frequently timeout trying to destroy autoscaling groups: module.foo.aws_autoscaling_group.bar (deposed #0): Still destroying... (10m0s elapsed) Error applying plan: 1 error(s) occurred: * aws_autoscaling_group.bar (deposed #0): group still has 1 instances If I re-run the terraform apply, it works. It seems like the timeout is 10 minutes -- I'd like to double the time so that it finishes reliably.

AWS Scaling In Termination Protection for EC2 Container Service

本秂侑毒 提交于 2019-12-23 04:48:37
问题 I am unable to figure out how to protect my ECS task instances when using Auto Scaling in Amazon AWS. I have a long running task that can scale out as required but I want to mark task instances that are running as "not destroyable". I have found several resources that talk about instance protection such as: https://aws.amazon.com/blogs/aws/new-instance-protection-for-auto-scaling/ and (because I am using python) the API documentation is here: http://boto3.readthedocs.io/en/latest/reference

How to scale write and index's size dynamically with Elasticsearch?

旧巷老猫 提交于 2019-12-23 03:49:06
问题 I am currently exploring solutions in order to archive and provide a web search engine for enormous documentation data. I have firstly started my search looking for search engine solution and I end up with the conclusion that Elasticsearch was one of the best one when you have to deal with huge amount of data. I have read that it scale easily and out of the box and i was convinced. Then I looked about No SQL database and because of the number of actors, i spent more time on my searching and I