Configure Server

Configure your dedicated server

Billing Cycle:
Memory:
Drive Bay 1:
Drive Bay 2:
Operating System:
DDoS Protection:
IPv4 Addresses:
Need more IPv4 addresses?
Network Speed:
Location:
Additional PCIe Devices (GPU):

Power-02

Great value systems with a limited supply, all servers are whilst stocks last.
Current Configuration

» CPU: Ryzen 7 5700X

» Memory:

» Drive Bay 1:

» Drive Bay 2:

» Operating System:

» IPv4 Addresses:

» DDoS Protection:

» Network Speed:

» Location:

» PCIe Device:


$84.99 / monthly
Estimated Delivery Time: 48h
Proceed with Configuration

Processing...

`, background: "var(--bg-dark)", showCancelButton: false, showConfirmButton: false, }); } else { proceedtoCheckout(); } } function proceedtoCheckout(commitselection) { // Assign variables to URL var crntServer = "279"; var crntRam = "&configoption[180]=" + $(".memory input:checked").val(); var crntBayOne = "&configoption[179]=" + $(".driveBayOne input:checked").val(); var crntBayTwo = "&configoption[203]=" + $(".driveBayTwo input:checked").val(); var crntOs = "&configoption[159]=" + $('#os option:selected').val(); //var crntBandwidth = "&configoption[158]=" + $('#bandwidth option:selected').val(); var crntIps = "&configoption[157]=" + $('#ipaddresses option:selected').val(); //var crntDDoSProtection = $('#ddosprotection option:selected').val(); var crntProtection = "&configoption[311]=" + $('#protection option:selected').val(); var crntSpeed = "&configoption[160]=" + $('#networkspeed option:selected').val(); var crntLocation = "&configoption[161]=" + $('#location option:selected').val(); var crntPCIe = "&configoption[290]=" + $('#pcie option:selected').val(); var billingCycle = "&billingcycle=" + $(".billingCycle input:checked").val(); const overlay = document.getElementById('swal-loader-overlay'); if (overlay) overlay.style.display = 'flex'; if (commitselection) var commitSelection = "&configoption[426]=" + commitselection; else var commitSelection = ""; var url = "https://billing.pebblehost.com/cart.php?a=add&pid=" + crntServer + crntBayOne + crntBayTwo + crntOs + crntRam + crntIps + crntSpeed + crntLocation + crntProtection + crntPCIe + billingCycle + commitSelection + "&skipconfig=1"; window.location.href = url; } function updateLink() { // Assign variables to URL var crntServer = "279"; var crntRam = "&configoption[180]=" + $(".memory input:checked").val(); var crntBayOne = "&configoption[179]=" + $(".driveBayOne input:checked").val(); var crntBayTwo = "&configoption[203]=" + $(".driveBayTwo input:checked").val(); var crntOs = "&configoption[159]=" + $('#os option:selected').val(); //var crntBandwidth = "&configoption[158]=" + $('#bandwidth option:selected').val(); var crntIps = "&configoption[157]=" + $('#ipaddresses option:selected').val(); //var crntDDoSProtection = $('#ddosprotection option:selected').val(); var crntProtection = "&configoption[311]=" + $('#protection option:selected').val(); var crntSpeed = "&configoption[160]=" + $('#networkspeed option:selected').val(); var crntLocation = "&configoption[161]=" + $('#location option:selected').val(); var crntPCIe = "&configoption[290]=" + $('#pcie option:selected').val(); var billingCycle = "&billingcycle=" + $(".billingCycle input:checked").val(); // https://billing.pebblehost.com/cart.php?a=add&pid=283&configoption[193]=908&configoption[194]=911&configoption[159]=1079&configoption[198]=926&configoption[158]=undefined&configoption[157]=772&configoption[160]=791&configoption[161]=792&addons[23]=on&billingcycle=monthly&skipconfig=1 //$("a.orderBtn").attr("href", "https://billing.pebblehost.com/cart.php?a=add&pid=" + crntServer + crntBayOne + crntBayTwo + crntOs + crntRam + crntIps + crntSpeed + crntLocation + crntProtection + crntPCIe + billingCycle + "&skipconfig=1"); }; function updateProvisionTime() { // Calculate setup time var setuptime = 48; var serverStock = []; var now = new Date().getHours(); var weekday = new Date().getDay(); function nearlyinstock(item) { var multiplier = 1; if ($('#pcie option:selected').text() != "None") { setuptime = 48; } /* if (weekday == 1 || weekday == 2 || weekday == 3 || weekday == 4) { // Monday -> Thursday if (now >= 2 && now <= 9) { // 2am to 9am var setuptime = 12; } else if (now >= 10 && now <= 16) { // 10am to 4pm var setuptime = 6; } else { // after 4pm / before 2am var setuptime = 24; } } else if (weekday == 5) { // Friday if (now >= 0 && now <= 1) { // midnight to 1am setuptime = 16; } else if (now >= 2 && now <= 9) { // 2am to 9am var setuptime = 12; } else if (now >= 10 && now <= 16) { // 10am to 4pm var setuptime = 8; } else { // after 4pm var setuptime = 72; } } else if (weekday = 6) { // Saturday if (now >= 0 && now <= 18) { // midnight to 6pm var setuptime = 72; } else { // after 7pm var setuptime = 48; } } else if (weekday = 0) { // Sunday if (now >= 0 && now <= 16) { // midnight to 4pm var setuptime = 48; } else { // after 4pm var setuptime = 24; } } else { var setuptime = 50; // 50 hours, catch } */ //console.log(setuptime); $(item).find('.time').html(setuptime*multiplier+"h"); } function outofstock(item) { $(item).find('.time').html("72hr"); } let srvId = 279; // if(srvId === 323) { // let all = $(".time").each(function() { // $('.time').each(function() { // $(this).html("48h"); // }); // }); // $('.deliveryTime').html("48h"); // return; // } //Get Whats in Stock and Map it //[['BayOne' => '480GB SSD', 'BayTwo' => '6TB HDD'], ['240GB SSD']] // const driveBayOne = Object.keys(serverStock).map((key) => serverStock[key]['drive1']); // const driveBayTwo = Object.keys(serverStock).map((key) => serverStock[key]['drive2']); // const memory = Object.keys(serverStock).map((key) => serverStock[key]['ram']); // console.log(driveBayOne, driveBayTwo); // for(let i in serverStock) { // console.log(serverStock[i]) // // Matched bay 1 // if(serverStock[i].drive1 === opt1) { // // Matched bay 2 // if(serverStock[i].drive2 === opt2) { // // Full Match, 120 sec setup // $(this).find('.time').html("60s"); // } // // Parital Match, Quick Setup // $(this).find('.time').html("6h"); // } // // Nothing Found // $(this).find('.time').html("24h"); // } var newStock = []; var memoryStock = []; var memoryIndex = []; for(let i in serverStock) { //console.log(serverStock[i]); // Exists in our array already, push bay 2 opt if(typeof newStock[serverStock[i].drive1] == "undefined") { //console.log("Creating array for " + serverStock[i].drive1); newStock[serverStock[i].drive1] = []; } var itema = memoryIndex.find(x => x === (serverStock[i].ram + "-" + serverStock[i].drive1)); if(!(memoryIndex[serverStock[i].ram + "-" + serverStock[i].drive1] instanceof Array)) { memoryIndex[serverStock[i].ram + "-" + serverStock[i].drive1] = []; } newStock[serverStock[i].drive1].push(serverStock[i].drive2); memoryIndex[serverStock[i].ram + "-" + serverStock[i].drive1].push(serverStock[i].drive2); //console.log("Pushing " + serverStock[i].ram + " RAM With a " + serverStock[i].drive1 + " in bay 1 and a " + serverStock[i].drive2 + " in bay 2"); memoryStock[serverStock[i].ram] = true; } //console.log(memoryIndex); let selectedOne = $('.driveBayOne .configSelected').find('p').text(); let selectedTwo = $('.driveBayTwo .configSelected').find('p').text(); $('.driveBayOne .configOption').each(function(x) { nearlyinstock($(this)); }); $('.driveBayTwo .configOption').each(function(x) { nearlyinstock($(this)); }); // Overide for out of stock systems to set a custom time if ("Ryzen 7 5700X" == "Xeon E3-1220Lv2 NOTINUSE") { $('.driveBayOne .configOption').each(function(x) { outofstock($(this)); }); $('.driveBayTwo .configOption').each(function(x) { outofstock($(this)); }); } else if ($('.memory .configSelected').find('#cost').text()) { var selectedMemory = $('.memory .configSelected').find('p').text().replace(" (On Die ECC)", ""); //console.log("Selected memory: " + selectedMemory); $('.memory .configOption').each(function(x) { var ram = $(this).find('p').text().replace(" (On Die ECC)", ""); //console.log("Checking if " + ram + " is in " + memoryStock); if (memoryStock[ram]) { $(this).find('.time').html("60s"); } else { nearlyinstock($(this)); } $('.driveBayOne .configOption').each(function(x) { let bayOne = this; let opt = $(this).find('p').text(); //console.log('here2 ' + memoryIndex[selectedMemory + "-" + opt]); if (memoryIndex[selectedMemory + "-" + opt] == null) { //$(this).find('.time').html('24h'); nearlyinstock($(this)); } else if (memoryIndex[selectedMemory + "-" + opt] !== null && opt !== selectedOne) { //$(this).find('.time').html('24h'); nearlyinstock($(this)); if (memoryIndex[selectedMemory + "-" + opt]) { $(this).find('.time').html('60s'); } $('.driveBayTwo .configOption').each(function(x) { if($(this).find('.time').html() === '') { //$(this).find('.time').html('24h'); nearlyinstock($(this)); } }); } else { $('.driveBayTwo .configOption').each(function(x) { let opt2 = $(this).find('p').text(); //console.log("Option 2 " + opt2); for(let i in memoryIndex[selectedMemory + "-" + selectedOne]) { if(opt2 === memoryIndex[selectedMemory + "-" + selectedOne][i]) { $(bayOne).find('.time').html('60s'); $(this).find('.time').html('60s'); // We have a match } else if (memoryIndex[selectedMemory + "-" + selectedOne][i] === null && opt2 == "None") { $(bayOne).find('.time').html('60s'); $(this).find('.time').html('60s'); } } }) } }); }); } else { $('.driveBayOne .configOption').each(function(x) { let bayOne = this; let opt = $(this).find('p').text(); // //console.log('here2 ' + newStock[selectedOne]); if (newStock[opt] == null) { //$(this).find('.time').html('24h'); nearlyinstock($(this)); } else if (newStock[opt] !== null && opt !== selectedOne) { //$(this).find('.time').html('24h'); nearlyinstock($(this)); if (newStock[opt]) { $(this).find('.time').html('60s'); } $('.driveBayTwo .configOption').each(function(x) { if($(this).find('.time').html() === '') { //$(this).find('.time').html('24h'); nearlyinstock($(this)); } }); } else { $('.driveBayTwo .configOption').each(function(x) { let opt2 = $(this).find('p').text(); //console.log("Option 2 " + opt2); for(let i in newStock[selectedOne]) { if(opt2 === newStock[selectedOne][i]) { $(bayOne).find('.time').html('60s'); $(this).find('.time').html('60s'); // We have a match } else if (newStock[selectedOne][i] === null && opt2 == "None") { $(bayOne).find('.time').html('60s'); $(this).find('.time').html('60s'); } } }) } }); } // $('.memory .configOption').each(function(x) { // var ram = $(this).find('p').text(); // console.log("Checking if " + ram + " is in " + memory); // if (jQuery.inArray(ram, memory) !== -1) { // $(this).find('.time').html("60s"); // } else { // nearlyinstock($(this)); // } // }); // let found = []; // $('.driveBayOne .configOption').each(function(x) { // let bayOneThis = this; // for(let i in serverStock) { // // Matched bay 1 // if(serverStock[i].drive1 === $(bayOneThis).find('p').text()) { // // console.log('Matched bay 1 for ' + $(bayOneThis).find('p').text()); // // Matched bay 2 // $('.driveBayTwo .configOption').each(function(y) { // if(serverStock[i].drive2 === $(this).find('p').text() && serverStock[i].drive1 === $(bayOneThis).find('p').text()) { // // console.log('Matched 1 and bay 2 for ' + $(bayOneThis).find('p').text() + ' & ' + $(this).find('p').text()); // // Full Match, 120 sec setup // // $(bayOneThis).find('.time').html("60s"); // // $(this).find('.time').html("60s"); // found.push({}); // } else { // // Parital Match, Quick Setup // // $(bayOneThis).find('.time').html("6h"); // } // }); // } else { // // Nothing Found // $(this).find('.time').html("24h"); // } // } // }) //Check Drive One First. // $('.driveBayOne .configOption').each(function(x) { // var driveOne = $(this).find('p').text(); // // console.log(driveOne); // if (jQuery.inArray(driveOne, driveBayOne) !== -1) { // $(this).find('.time').html("60s"); // } else { // if (now >= 9 && now <= 18) { // $(this).find('.time').html("6h"); // } else { // $(this).find('.time').html("24h"); // } // } // }); // $('.driveBayTwo .configOption').each(function(x) { // var driveTwo = $(this).find('p').text(); // var driveOne = $('.driveBayOne .configSelected').find('p').html(); // // console.log(driveOne); // if (jQuery.inArray(driveTwo, driveBayTwo) !== -1) { // $(this).find('.time').html("60s"); // } else { // if (now >= 9 && now <= 18) { // $(this).find('.time').html("6h"); // } else { // $(this).find('.time').html("24h"); // } // } // }); let opts = []; opts['60s'] = 1; opts['6h'] = 2; opts['8h'] = 3; opts['12h'] = 4; opts['16h'] = 4.5; opts['24h'] = 5; // Overridden from 24h opts['48h'] = 6; opts['50h'] = 7; opts['72h'] = 8; opts['168h'] = 9; let times = []; times.push(opts[$('.driveBayOne .configSelected').find('.time').text()]); times.push(opts[$('.driveBayTwo .configSelected').find('.time').text()]); if($('.memory .configSelected').find('.time').text()) { times.push(opts[$('.memory .configSelected').find('.time').text()]); } let actualTime = Math.max(...times); for(let i in opts) { if(actualTime === opts[i]) { $('.deliveryTime').html(i); } } // let price = 0; // price += parseInt($('.driveBayOne .configSelected').find('.cost').text()); // console.log("bayone: " + ($('.driveBayOne .configSelected').find('.cost').text())); // price += parseInt($('.driveBayTwo .configSelected').find('.cost').text()); // console.log("baytwo: " + ($('.driveBayTwo .configSelected').find('.cost').text())); // //price += parseInt(($('#bandwidth option:selected').text().split('$')[1]).split(' ')[0]); // console.log('Network Price' + parseInt((($('#bandwidth option:selected').text()).split('$')[1]).split(' ')[0])); // // price += parseInt($('.memory .configSelected').find('.cost').text()); // console.log(price); // $('.confPrice').html(price); // $('.deliveryTime').html(drive1time); // if(opts[drive1time] === opts[drive2time]) { // } else if(drive1time != drive2time) { // $('.deliveryTime').html(drive1time); // } }; function updatePricing() { var basePrice = parseFloat(84.99); var drive1price = parseFloat($('.driveBayOne .configSelected').find('#cost').text()); if ($('.driveBayTwo .configSelected').find('#cost').text()) { var drive2price = parseFloat($('.driveBayTwo .configSelected').find('#cost').text()); basePrice += parseFloat(drive2price); } if ($('.memory .configSelected').find('#cost').text()) { var ramPrice = parseFloat($('.memory .configSelected').find('#cost').text()); basePrice += parseFloat(ramPrice); } //console.log("network: " + $('#bandwidth option:selected').text()) if ($('#networkspeed option:selected').text().includes("USD")) { var networkPrice = parseFloat(($('#networkspeed option:selected').text().split('$')[1]).split(' ')[0]); basePrice += parseFloat(networkPrice); //$('#setupfee').html(' & $15.00 Setup Fee'); $('#setupfee').html(''); } else { $('#setupfee').html(''); } if ($('#ipaddresses option:selected').text().includes("USD")) { var networkPrice = parseFloat(($('#ipaddresses option:selected').text().split('$')[1]).split(' ')[0]); basePrice += parseFloat(networkPrice); } if ($('#protection option:selected').text().includes("USD")) { var networkPrice = parseFloat(($('#protection option:selected').text().split('$')[1]).split(' ')[0]); basePrice += parseFloat(networkPrice); } if ($('#pcie option:selected').text().includes("USD")) { var networkPrice = parseFloat(($('#pcie option:selected').text().split('$')[1]).split(' ')[0]); basePrice += parseFloat(networkPrice); } basePrice += parseFloat(drive1price); var selectedCycle = $('.billingCycle input:checked').val(); var serverPrice = parseFloat(84.99); var threeMonths = ((basePrice - (serverPrice * 5 / 100))/* * 3*/).toFixed(2); var sixMonths = ((basePrice - (serverPrice * 10 / 100))/* * 6*/).toFixed(2); var twelveMonths = ((basePrice - (serverPrice * 20 / 100))/* * 12*/).toFixed(2); $('#discrr-monthly').html(basePrice.toFixed(2)); $('#discrr-quarterly').html(threeMonths); $('#discrr-semiAnnually').html(sixMonths); $('#discrr-annually').html(twelveMonths); if (selectedCycle == "monthly") { $('#confPrice').html(basePrice.toFixed(2)); $('#timeCycle').html('monthly'); } else if (selectedCycle == "quarterly") { $('#confPrice').html((threeMonths *3).toFixed(2)); $('#timeCycle').html('quarterly'); } else if (selectedCycle == "semiannually") { $('#confPrice').html((sixMonths * 6).toFixed(2)); $('#timeCycle').html('semi-annually'); } else if (selectedCycle == "annually") { $('#confPrice').html((twelveMonths * 12).toFixed(2)); $('#timeCycle').html('annually'); } } // On Page load select first item $(document).ready(function() { // Checks if.plan has additional memory if ($(".memory").length == 0) { // If it doesn't, It's stock $("#crntMemory").html(""); } else { // If it does, Select the first option $('.memory input:first').prop('checked', true); $('.memory label:first').addClass('configSelected'); } // Select first option for billing cycle and both drive bays $('.billingCycle input:first').prop('checked', true); $('.billingCycle label:first').addClass('configSelected'); $('.driveBayOne input:first').prop('checked', true); $('.driveBayOne label:first').addClass('configSelected'); $('.driveBayTwo input:first').prop('checked', true); $('.driveBayTwo label:first').addClass('configSelected'); updateConf(); //updateLink(); updateProvisionTime(); updatePricing(); var basePrice = parseFloat(84.99); var threeMonths = (basePrice - (basePrice * 5 / 100))/* * 3*/; var sixMonths = (basePrice - (basePrice * 10 / 100))/* * 6*/; var twelveMonths = (basePrice - (basePrice * 20 / 100))/* * 12*/; $('#discrr-monthly').html(basePrice.toFixed(2)); $('#discrr-quarterly').html(threeMonths.toFixed(2)); $('#discrr-semiAnnually').html(sixMonths.toFixed(2)); $('#discrr-annually').html(twelveMonths.toFixed(2)); }); // Billing Cycle, Highlight and Uncheck other checkboxes $('.billingCycle label').click(function() { $('.billingCycle label').removeClass('configSelected'); $(this).addClass('configSelected'); }); $('.billingCycle .configOption input').on('change', function() { $('.billingCycle .configOption input').not(this).prop('checked', false); }); // Memory, Highlight and Uncheck other checkboxes $('.memory label').click(function() { $('.memory label').removeClass('configSelected'); $(this).addClass('configSelected'); }); $('.memory .configOption input').on('change', function() { $('.memory .configOption input').not(this).prop('checked', false); }); // Drive Bay One, Highlight and Uncheck other checkboxes $('.driveBayOne label').click(function() { $('.driveBayOne label').removeClass('configSelected'); $(this).addClass('configSelected'); }); $('.driveBayOne .configOption input').on('change', function() { $('.driveBayOne .configOption input').not(this).prop('checked', false); }); // Drive Bay Two, Highlight and Uncheck other checkboxes $('.driveBayTwo label').click(function(){ $('.driveBayTwo label').removeClass('configSelected'); $(this).addClass('configSelected'); }); $('.driveBayTwo .configOption input').on('change', function() { $('.driveBayTwo .configOption input').not(this).prop('checked', false); }); // Updates Current Configuration Box $('#dediConfigure').on('change', function() { updateConf(); //updateLink(); updateProvisionTime(); updatePricing(); }); -->