This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource aws_elb infra_candidate { | |
| name = "infra-candidate" | |
| subnets = ["subnet-placeholder"] | |
| security_groups = ["sg-placeholder"] | |
| listener { | |
| instance_port = 80 | |
| instance_protocol = "HTTP" | |
| lb_port = 80 | |
| lb_protocol = "HTTP" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 04e2f2b77ec0067590c10703c67c947e875bf131dccb5e0c87f7de5a027dc460f4655424c6e3aaaf717877e7a77afa0f0e1098ace1223adf1cebe5e1ec1eb02d7c;skokefoe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| OPTS="" | |
| # Basic CPU settings. Also fix Nvidia fuckery | |
| #OPTS="$OPTS -cpu host,kvm=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff" | |
| OPTS="$OPTS -cpu host,kvm=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=Nvidia43FIX" | |
| #OPTS="$OPTS -cpu host,kvm=off" | |
| OPTS="$OPTS -smp 4,sockets=1,cores=4,threads=1" | |
| # Enable KVM full virtualization support. | |
| OPTS="$OPTS -enable-kvm" | |
| # Assign memory to the vm. |